-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment as war to tomcat 10 does not work #276
Comments
For Micronaut 3.x.x this is expected as Tomcat 10 moved to It is possible to convert For Micronaut 4.x.x this should just work, however there's a bug which prevents it doing so This PR will fix that. |
@timyates Errm... need a lot more information on this.. are you saying that Micronaut 3 and 4 don't work on Tomcat 9? Or are you saying saying we should use the webapps-javaee on tomcat 9 (or 10?)? We need a compatibility matrix and instructions for each combination, whether possible, impossible, needs this hack.. etc. |
A Micronaut Framework 4.1.1 using Micronaut Servlet should work. does not work for you @chrisbitmead ? |
@sdelamo It doesn't seem to work for me. A micronaut 4.1.1 app that works as a standalone application, when deployed to tomcat 9, just does nothing. It deploys successfully but has no functionality at all. I do have this if it matters:
|
So with Tomcat 10, they migrated from the This means that our
@chrisbitmead I will add something to the docs to show that for Micronaut 4, you need to use Tomcat 10 as a minimum |
Expected Behavior
A war archive created as per documentation and deployed to a tomcat servlet container should run and react like the standalone app or when deploying to tomcat 9.
Actual Behaviour
The war gets deployed but the app seems to never be called. All requests result in a 404 error.
Steps To Reproduce
Environment Information
Example Application
https://github.com/miq/micronaut-servlet-demo
Version
3.3.0
The text was updated successfully, but these errors were encountered: