Are you using Windows? Than this it no tomcat specific problem. yout struts.jar is not deleted because windows locks this file. i had the same problem. the solution is to add the directory META-INF to your project. put a file named context.xml into it with the following lines:
<Context reloadable="true" antiResourceLocking="true"> </Context> when the attribute antiResourceLocking is set to true tomcat does not use this one but works with an internal copy of it so that windows does not lock it. then everything works fine... Peter -----Ursprüngliche Nachricht----- Von: Robert Nicholls [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 7. Juli 2005 15:48 An: user@struts.apache.org Betreff: Tomcat5.exe Holds Onto Struts.jar Hi: Perhaps this is a Tomcat question but it applies only to Struts. I have Tomcat 5.5 running under Windows 2000 with Eclipse as the IDE. Ant is used to assemble, compile and deploy the applications. However, the process Tomcat5.exe accesses the struts.jar at /WEB-INF/lib/struts.jar. The result is that when we run Ant and try to undeploy the application all files but the struts.jar are removed and the deployment process fails. Although Tomcat has access to all the jars in the various libs (common, shared and server) it only has access to the struts jars in the application libs. We use Process Explorer to verify this. There seem to be several threads reporting similar behavior. Our present solution is to operate with unpacked wars (it works) but we would like to improve the performance with unpacked wars. Any thoughts? Regards, Bob Nicholls MIT Lincoln Laboratory --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]