Automatic WAR updates - suggestions wanted

2005-05-09 Thread Jay Burgess
Our Tomcat 5.0.19/Windows 2000 web application is self-updating.  It can
download the newest version of itself (ie. a .WAR), and then spawn a Windows
.bat file to do an app update.  This batch file shuts down Tomcat, deletes the
webapp's files and directories under Tomcat, copies the new .WAR across, and
then restarts Tomcat.  Tomcat then redeploys the new WAR.

However, very infrequently, one or more files seem to be locked in one of our
webapp subdirectories when we try to remove the current app.  (We're not yet
sure why.)  Since not all of the the subdirectories are gone, Tomcat does not
redeploy the new .WAR on restart, and our app is effectively dead in the water.

Am I missing a setting in server.xml/context.xml/web.xml that can indicate
always re-deploy a .WAR, regardless of whether the webapp subdiretory tree is
present or not?

Thanks.

Jay

| Jay Burgess [Vertical Technology Group]
| Essential Technology Links via RSS
| http://www.vtgroup.com/






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Automatic WAR updates - suggestions wanted

2005-05-09 Thread Wendy Smoak
From: Jay Burgess [EMAIL PROTECTED]
Am I missing a setting in server.xml/context.xml/web.xml that can indicate
always re-deploy a .WAR, regardless of whether the webapp subdiretory 
tree is
present or not?

Not AFAIK... if the directory is there, it won't auto-expand.  You can, 
however, tell it NOT to explode the .war file in the first place.

--
Wendy Smoak 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]