Re: S2: Unable to undeploy app in Tomcat

2008-08-25 Thread Jeromy Evans
Paul Benedict wrote: I can't see how this could be a Tomcat or Windows problem. With Struts 2.1.2 and setting antiJARLocking=true, I was able to undeploy. However, the necessity of the option tells me Struts (or XWork) is leaky somewhere and is not properly cleaning up its house. When running

Re: S2: Unable to undeploy app in Tomcat

2008-08-24 Thread Paul Benedict
Jeromy, I wrapped a try/finally in the init and destroy method as you and the ticket described, but there was still a memory leak that locked down the Struts 2 core library. Are you sure these are the only things to be done? @Override public void init(FilterConfig filterConfig) throws

Re: S2: Unable to undeploy app in Tomcat

2008-08-24 Thread Jeromy Evans
Hi Paul, I'm not 100% sure as I've never investigated this in detail myself. Now that you've mentioned it though, I recall another issue with Struts 2 leaving files open. It related to the FreeMarker template caching and someone had setup a task to monitor open file counts at run-time.

[OT] Re: S2: Unable to undeploy app in Tomcat

2008-08-24 Thread Dave Newton
I prefer a reliable slow restart rather than a fast redeployment with an occasional failure. That's what she said. (Had to; long, irritating weekend.) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: S2: Unable to undeploy app in Tomcat

2008-08-24 Thread Paul Benedict
I can't see how this could be a Tomcat or Windows problem. With Struts 2.1.2 and setting antiJARLocking=true, I was able to undeploy. However, the necessity of the option tells me Struts (or XWork) is leaky somewhere and is not properly cleaning up its house. When running under Windows, files are

S2: Unable to undeploy app in Tomcat

2008-08-22 Thread Paul Benedict
I am unable to have Tomcat delete the physical directory of my webapp when I undeploy from Tomcat Manager. My application gets undeployed, but there is a lock is on the struts2-core library. Anyone encounter this problem? I am using 2.0.11.2 and Tomcat 6.0.16. Paul

Re: S2: Unable to undeploy app in Tomcat

2008-08-22 Thread Wendy Smoak
On Fri, Aug 22, 2008 at 9:10 PM, Paul Benedict [EMAIL PROTECTED] wrote: I am unable to have Tomcat delete the physical directory of my webapp when I undeploy from Tomcat Manager. My application gets undeployed, but there is a lock is on the struts2-core library. Anyone encounter this problem?

Re: S2: Unable to undeploy app in Tomcat

2008-08-22 Thread Jeromy Evans
Paul Benedict wrote: I am unable to have Tomcat delete the physical directory of my webapp when I undeploy from Tomcat Manager. My application gets undeployed, but there is a lock is on the struts2-core library. Anyone encounter this problem? I am using 2.0.11.2 and Tomcat 6.0.16. Paul

Re: S2: Unable to undeploy app in Tomcat

2008-08-22 Thread Paul Benedict
Jeromy, Any good chance 2.0.12 would contain the fix? Is the fix totally not able to be backported? Paul On Sat, Aug 23, 2008 at 12:05 AM, Jeromy Evans [EMAIL PROTECTED] wrote: Paul Benedict wrote: I am unable to have Tomcat delete the physical directory of my webapp when I undeploy from

Re: S2: Unable to undeploy app in Tomcat

2008-08-22 Thread Paul Benedict
https://issues.apache.org/struts/browse/WW-2167 On Sat, Aug 23, 2008 at 12:05 AM, Jeromy Evans [EMAIL PROTECTED] wrote: Paul Benedict wrote: I am unable to have Tomcat delete the physical directory of my webapp when I undeploy from Tomcat Manager. My application gets undeployed, but there is

Re: S2: Unable to undeploy app in Tomcat

2008-08-22 Thread Jeromy Evans
Paul Benedict wrote: https://issues.apache.org/struts/browse/WW-2167 Yes, it's easy to retrofit to 2.0. It only requires a finally statement in the init and destroy methods. PS. stop developing java on windows... ;-) My estimate is that Sun's java compiler is at least 50% faster