tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From primus <>
Subject RE: Preventing War files from redeploying
Date Tue, 04 Dec 2007 18:32:43 GMT

primus wrote:
> Caldarale, Charles R wrote:
>>> From: primus [] 
>>> Subject: Preventing War files from redeploying
>>> Is it possible to have tomcat not redeploy the last 
>>> war and just start up with the existing files?
>> Not redeploying from the .war is Tomcat's normal behavior, at least for
>> the 5.5 and 6.0 versions.  Since you're seeing something different,
>> either your Tomcat configuration or your environment is unusual.
>> What Tomcat version are you using?
>> What is the unpackWars attribute of the Tomcat <Host> element(s) in
>> conf/server.xml set to?
>> Where are you modifying the .jsp files?  (Exact directory name, please.)
>> What does the Tomcat restart process entail?  Does said process delete
>> your modified .jsp files, by any chance?
>> And no, it's not a dumb question.
>>  - Chuck
>> MATERIAL and is thus for use only by the intended recipient. If you
>> received this in error, please contact the sender and delete the e-mail
>> and its attachments from all computers.
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail:
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:
> I'm running Tomcat 5.5xx.
> The unpackWars Attribute I think is set to the virtual host found at
> /var/www/vhosts/[vhost name]
> I have a clustered environment, my .jsp's are getting overwritten on a
> restart of tomcat when I move a single .jsp to whatever folder
> /[vhost]/folder/.jsp. 
> If any of these answers do not make sense let me know and I'll try to
> correct them or get better info.

Here is more information on the deployment process being used. It is a
clustered environment, the war is dropped into a deployment folder on the
main node which distributed the war to the vhost folder on both servers, the
war then expands. Any time the war file in the deployment folder changes it
automatically deploys that war out again to both servers, if the server
crashes or restarts it redeploys the war files in the vhosts folder if no
changes have been made to the deployment folder war file. I need it not to
expand the existing war if no changes have been made to the root deployment
war file on restart.  Any ideas? Again if I'm not being clear or not
explaining something correctly let me know.
View this message in context:
Sent from the Tomcat - User mailing list archive at

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

View raw message