DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32828>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32828

           Summary: Untidy undeploy - needs a restart to fix
           Product: Tomcat 5
           Version: 5.0.28
          Platform: Sun
        OS/Version: SunOS
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


When tomcat undeploys a webapp it leaves the /webapps/<whatever>/WEB-INF/lib 
directory. This means that tomcat cannot deploy a webapp in that directory 
space until tomcat is restarted. This only happens when jar files are includes 
as part of the webapp in the /WEB-INF/lib directory. If the webapp does not 
have any jar files under /WEB-INF/lib then the problem does not occur.

To recreate the problem:

deploy a new webapp as a war file (copy a war file to the webapps directory) 
this should not cause a problem until you 'touch' or overwrite the war file. 
Tomcat will notice that the war file has been touched or updated and try to 
undeploy the app - at this point it leaves the WEB-INF/lib directory if there 
were jar files in there. Then tomcat tries to re-deploy the app and spits out 
an error saying that it cannot find the web.xml file so it is unable to deploy 
the same app that initially was deployed.

Surely this must be a bug.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to