https://issues.apache.org/bugzilla/show_bug.cgi?id=56867
Bug ID: 56867
Summary: WAR with exploded dir not updated from WAR on Tomcat
startup
Product: Tomcat 8
Version: 8.0.9
Hardware: PC
Status: NEW
Severity: major
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Created attachment 31928
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31928&action=edit
use-case to test the bug
1. Configure a Tomcat instance with the server.xml from archive provided in
attachment
2. Start Tomcat
3. Copy webapps/v1/webapp.war into $CATALINA_BASE/webapps/
Result: webapp is deployed as expected and available at
http://localhost:8080/webapp/ with text "Webapp v1". The WAR was exploded into
$CATALINA_BASE/webapps/webapp/ folder
4. Stop Tomcat
5. Copy webapps/v2/webapp.war into CATALINA_BASE/webapps/
6. Start Tomcat
Result: old version is still served at http://localhost:8080/webapp/ with text
"Webapp v1"
Expected: the exploded dir $CATALINA_BASE/webapps/webapp/ is removed and the
new version of WAR is deployed and available at http://localhost:8080/webapp/
with text "Webapp v2".
Or am I misunderstanding the documentation
http://tomcat.apache.org/tomcat-8.0-doc/deployer-howto.html#Deployment_on_Tomcat_startup
?
Reproduced with tomcat-7.0.55.
--
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]