tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Is deployOnStartup broken?
Date Tue, 30 Sep 2008 08:41:33 GMT
Erwin Hogeweg wrote:
> Hi,
> I am trying to re-deploy a war file on a RHES 5.2/Tomcat 6.0.16 server,
> but the war file does not expand when Tomcat is restarted.
> I have set the host variable deployOnStartup to "true", but even though
> the war file has a newer timestamp that the deployed folder the file is
> not re-deployed.
That sounds like normal behaviour to me. If updating a WAR whilst Tomcat is
not running, I would expect to have to remove the old WAR and old expanded
directory. I would also clean out the work directory just to be on the safe

> The file IS redeployed when I 'touch' the war file while Tomcat is
> running, or when the expanded folder does not exist.
Again, I am pretty sure that is what was intended.

> The catalina.out log file shows Deploying MyWar.war, but nothing really
> happens.
> Is there any specific debug logging that I can enable which shows me
> what is going on?
is the source that is handles deployments. The WAR unpacking is handled by
ContextConfig in the same package.

Some additional logging is available if you turn up logging for these
classes. Add:

to your


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message