Upgrade AWS Tomcat version [skip-ci] #17002
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
Upgrade AWS beanstalk platform
FROM => Tomcat 8.5 with Java 8 running on 64bit Amazon Linux
TO => Tomcat 8.5 with Corretto 11 running on 64bit Amazon Linux 2
Fix #16152
Fix #12394
Context:
The most recent version of Jhipster requires a minimum JDK 11. However, the selected beanstalk platform only supported version JDK 8.
Old tomcat does not deploy Jhipster, which causes 404 errors in both issues.
Fix:
The function filterSolutionStackNames returns the first result with pattern "Tomcat 8" which is wrong. I propose to change the pattern with "Tomcat 8.5 Corretto 11" to fix.
Please make sure the below checklist is followed for Pull Requests.
When you are still working on the PR, consider converting it to Draft (below reviewers) and adding
skip-ci
label, you can still see CI build result at your branch.