You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/02/26 18:48:03 UTC

DO NOT REPLY [Bug 27267] New: - Undeploying a web application may get the host appBase removed

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

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

Undeploying a web application may get the host appBase removed

           Summary: Undeploying a web application may get the host appBase
                    removed
           Product: Tomcat 5
           Version: 5.0.19
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Webapps:Manager
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: davide.sessi@loquendo.com


To get the bug do the following:

1. From the manager, deploy a test.war containing the following META-
INF\context.xml file 
	<Context
		path="/test" 
		docBase="" 
		debug="4"
	/>

   Note docBase="". This will cause a big problem during undeploy. 

2. Shutdown Tomcat. To rise the bug this is very important!

3. Startup Tomcat. This is very important too   ;-)

4. From the manager, undeploy the application at context path /test.
   You'll get this successful message  
	OK - Undeployed application at context path /test
   and this is true, but the host appBase has been removed too!  :(

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