https://issues.apache.org/bugzilla/show_bug.cgi?id=56668
Bug ID: 56668
Summary: Restarting Tomcat fails to load versioned webapp
Product: Tomcat 7
Version: 7.0.47
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
See this Stackoverflow for details:
https://stackoverflow.com/questions/24376947/restarting-tomcat-results-in-404-for-my-webapp
I have a TomEE installation, and I deploy my app via the text manager API,
including a version parameter (e.g. version=00023, so the context looks like
foo##00023). When I deploy, the webapp works perfectly. When I restart Tomcat,
I get 404s on the app's path (/foo). If I reload the app at the base context
(path=/foo), the symptom remains. If I reload the app at the versioned context
(path=/foo&version=00023), it begins working again. I'm going to go ahead and
assume that it should not behave this way, since I would love my webapp to
continue working after I restart the server.
I've worked around the issue by always calling
/manager/text/reload?path=/foo&version=00023 -- where 00023 is the latest
version -- whenever the server starts.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]