You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Harry Hartley <hh...@pobox.com> on 2005/05/20 07:02:14 UTC

RE: Locked jar during Ant undeploy on Tomcat 5.5.3

I too have this problem too. This problem is not specific to your
application. If you choose to deploy that ever so simple struts-blank, and
then undeploy it, the undeploy works, but the locked jar files are still
there.

> -----Original Message-----
> From: Quinten Verheyen [mailto:q.verheyen@ringring.be]
> Sent: Thursday, March 31, 2005 7:01 PM
> To: Tomcat Users List
> Subject: RE: Locked jar during Ant undeploy on Tomcat 5.5.3
> 
> Hi,
> 
> I'm experiencing a similar problem, I read the Tomcat docs and this thread
> first before submitting.
> 
> In my case, on freshly unzipped Tomcat versions 5.0.25, 5.0.28 and 5.5.4
> the catalina ant task 'undeploy' encounters a locked jar-file situation. I
> suspect the jar-file is locked because the webapp's web.xml file specifies
> configuration files from that jar-file (n.b. for Spring context loading).
> The Tomcat production version I want to undeploy on is 5.0.25.
> 
> Also, the logs indicated Tomcat tries to redeploy the webapp after
> executing the undeploy task :
> 
> INFO: Server startup in 12359 ms
> 31-Mar-2005 17:07:37 org.apache.catalina.core.ContainerBase log
> INFO: Removing web application at context path /mywebapp
> 31-Mar-2005 17:07:46 org.apache.catalina.core.StandardHostDeployer install
> INFO: Installing web application at context path /mywebapp from URL
> file:C:\webservers\jakarta-tomcat-5.0.28\webapps\mywebapp
> 31-Mar-2005 17:07:46 org.apache.catalina.startup.ContextConfig
> applicationConfig
> INFO: Missing application web.xml, using defaults only
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/mywebapp
> ]
> 
> Various options seem open to me, I want to try this list first because I
> can imagine this problem is common and goes beyond simple configuration
> errors ...
> 
> Kind regards,
> Q
> 
> > -----Original Message-----
> > From: Derek Mahar [mailto:dmahar@penson.ca]
> > Sent: 14 October 2004 20:15
> > To: tomcat-user@jakarta.apache.org
> > Subject: Re: Locked jar during Ant undeploy on Tomcat 5.5.3
> >
> >
> > > > Thank you for pointing out these redundant attributes.  I
> > applied these
> > changes
> > > > to the context, but got the same results.  If I have
> > time, I'll put together
> > > > a small application that demonstrates the problem and
> > send that to you.
> > >
> > > If the issue is real, then I think there will be someone to
> > provide a webapp.
> > >
> >
> > Yes, and that person's me! :) I just sent a test WAR that
> > demonstrates the
> > problem directly to your Gmail address.  As I'm using Gmane,
> > and Gmane does not
> > allow attachments, I could not attach the WAR to this message.
> >
> > Derek
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org