tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Garnier <zigarn+apa...@gmail.com>
Subject Behaviour when updating WAR with exploded dir when Tomcat is stopped
Date Tue, 19 Aug 2014 09:50:15 GMT
On tomcat7 and tomcat8, documentation about deployment on Tomcat
startup <http://tomcat.apache.org/tomcat-8.0-doc/deployer-howto.html#Deployment_on_Tomcat_startup>
says:

> The following deployment sequence will occur on Tomcat startup in that case:
>
> 1. Any Context Descriptors will be deployed first.
> 2. Exploded web applications not referenced by any Context Descriptor will then be deployed.
If they have an associated .WAR file in the appBase and it is newer than the exploded web
application, the exploded directory will be removed and the webapp will be redeployed from
the .WAR
> 3. .WAR files will be deployed

When raising a bug (#56867
<https://issues.apache.org/bugzilla/show_bug.cgi?id=56867>) about a
behaviour not conforming to this documentation (as I understand it), I
was answered to ask on the ML for information about this, so here it
is.

Why when updating WAR with exploded dir when Tomcat is stopped, the
exploded dir is not updated on Tomcat startup and the old webapp is
served?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message