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]