You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by René Schade <rs...@hypergenic.dk> on 2006/11/08 13:56:59 UTC

Undeploy does not remove all of the files in the application

Hi!

I have a problem when trying to undeploy an application.

Whenever I try to undeploy using the manager application (or from Ant), not all of the files in the application (located in webapps) are removed. Some of the jar-files still exist in the folder. I have to restart tomcat in order to remove the jar-files.

When I try to remove the files using an explorer I get "Cannot delete xxx.jar: It is being used by another person or program".

Im running Tomcat 5.5-20 on Win32.

Any help is appreciated!

Regards,
René


---------------------------------------------------------------------
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: Undeploy does not remove all of the files in the application

Posted by Mikolaj Rydzewski <mi...@ceti.pl>.
René Schade wrote:
> Any help is appreciated!
>   
The classloaders cannot be unloaded. It's a common problem. Google for 
it ;-)

The simple workadound is to use anti*locking attributes in context.xml: 
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html


-- 
Mikolaj Rydzewski <mi...@ceti.pl>