You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Douglas Ferguson <do...@epsiia.com> on 2006/09/20 21:49:22 UTC

Tomcat 5.5.9 not undeploying

Sometimes when I use the manager (via cargo) to undeploy and deploy, my webapp won't actually undeploy. 

What happens is that it leaves behind a jar file in the WEB-INF/lib dir.
At first I thought this was a resource leak in my app, but the jar file is not always the same.

Is there anything I can do to prevent this? 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 5.5.9 not undeploying

Posted by Mark Thomas <ma...@apache.org>.
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this  makes your new message appear as part
of the old thread. This makes it harder for other users to find
relevant information when searching the lists.

This is known as thread hijacking and is behaviour that is frowned
upon on this list. Frequent offenders will be removed from the list.
It should also be noted that many list subscribers automatically
ignore any messages that hijack another thread.

The correct procedure is to create a new message with a new subject.
This will start a new thread.

Mark
tomcat-user-owner

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 5.5.9 not undeploying

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Douglas Ferguson [mailto:douglas.ferguson@epsiia.com] 
> Subject: RE: Tomcat 5.5.9 not undeploying
> 
> Can this be defined globally for all contexts?

Should work, but I haven't tried it personally.  Add it to the settings
in the conf/context.xml file.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 5.5.9 not undeploying

Posted by Douglas Ferguson <do...@epsiia.com>.
It is windows.

Can this be defined globally for all contexts?

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Wednesday, September 20, 2006 4:07 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.9 not undeploying

> From: Douglas Ferguson [mailto:douglas.ferguson@epsiia.com] 
> Subject: Tomcat 5.5.9 not undeploying
> 
> What happens is that it leaves behind a jar file in the 
> WEB-INF/lib dir.

What platform?  If it's Windows, you might want to experiment with the
antiJARLocking and antiResourceLocking attributes of your app's
<Context> tag.  See:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
for more info.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 5.5.9 not undeploying

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Douglas Ferguson [mailto:douglas.ferguson@epsiia.com] 
> Subject: Tomcat 5.5.9 not undeploying
> 
> What happens is that it leaves behind a jar file in the 
> WEB-INF/lib dir.

What platform?  If it's Windows, you might want to experiment with the
antiJARLocking and antiResourceLocking attributes of your app's
<Context> tag.  See:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
for more info.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org