You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Eric SCHULTZ <Er...@elixonline.com> on 2003/11/10 01:38:35 UTC

Can't undeploy struts.jar in Tomcat 4.1.27

Good evening...

Using Tomcat 4.1.27 (and JVM 1.4.2_02-b03 on Win2k) when I Remove my Struts
application in the Manager the /myApp/WEB-INF/lib/struts.jar file doesn't
get deleted.  The original WAR file is deleted and the expanded directory
contents are deleted, except the struts.jar file.

If I try to delete it manually I'm told there's a sharing violation and the
file is in-use.  Once I stop the Tomcat service I can delete the jar file
file though.

If I don't delete the jar whenI try to re-install the WAR it copies the war
doesn't expand it!?

Any ideas on why or how to fix?  This even happens when the web-app is
running without errors.  Is there something I need to do to "close" a
session?

Eric Schultz.

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


Re: Can't undeploy struts.jar in Tomcat 4.1.27

Posted by Yann C�bron <ya...@yahoo.de>.
>
> Using Tomcat 4.1.27 (and JVM 1.4.2_02-b03 on Win2k) when I Remove my
Struts
> application in the Manager the /myApp/WEB-INF/lib/struts.jar file doesn't
> get deleted.  The original WAR file is deleted and the expanded directory
> contents are deleted, except the struts.jar file.
>
> If I try to delete it manually I'm told there's a sharing violation and
the
> file is in-use.  Once I stop the Tomcat service I can delete the jar file
> file though.
>
> If I don't delete the jar whenI try to re-install the WAR it copies the
war
> doesn't expand it!?
>
> Any ideas on why or how to fix?  This even happens when the web-app is
> running without errors.  Is there something I need to do to "close" a
> session?
>

This is a known problem w/ TC4.x on Win:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10026

At least TC5 seems to work fine in this regards.

HTH,
    Yann




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