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=13887>. 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=13887 /manager/undeploy fails Summary: /manager/undeploy fails Product: Tomcat 4 Version: 4.1.12 Platform: Sun OS/Version: Netware Status: NEW Severity: Critical Priority: Other Component: Webapps:Administration AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Tomcat server starts up okay. # cat $CATALINA_HOME/logs/catalina.out [INFO] Registry - -Loading registry information [INFO] Registry - -Creating new Registry instance [INFO] Registry - -Creating MBeanServer [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.12 [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080 [INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8009 [INFO] JkMain - -Jk running ID=0 time=18/75 config=/usr/local/jakarta-tomcat- 4.1.12/conf/jk2.properties This is the display of applications before installing ours. http://localhost:8080/manager/list OK - Listed applications for virtual host localhost /examples:running:0:examples /webdav:running:0:/opt/jakarta-tomcat-4.1.12/webapps/webdav /tomcat-docs:running:0:/opt/jakarta-tomcat-4.1.12/webapps/tomcat-docs /admin:running:0:../server/webapps/admin /manager:running:0:../server/webapps/manager /:running:1:/opt/jakarta-tomcat-4.1.12/webapps/ROOT Installing one of our applications which works on Tomcat 4.0.x and Tomcat 4.1.12 http://localhost:8080/manager/install? path=/epe&war=jar:file:/opt/epe/epe/epe.war!/ OK - Installed application at context path /epe This is the display of applications after installing ours. http://localhost:8080/manager/list OK - Listed applications for virtual host localhost /examples:running:0:examples /webdav:running:0:/opt/jakarta-tomcat-4.1.12/webapps/webdav /epe:running:0:/opt/epe/epe/epe.war /tomcat-docs:running:0:/opt/jakarta-tomcat-4.1.12/webapps/tomcat-docs /admin:running:0:../server/webapps/admin /manager:running:0:../server/webapps/manager /:running:1:/opt/jakarta-tomcat-4.1.12/webapps/ROOT Testing the application as follows works http://localhost:8080/epe This is the display of applications after running ours. http://localhost:8080/manager/list OK - Listed applications for virtual host localhost /examples:running:0:examples /webdav:running:0:/opt/jakarta-tomcat-4.1.12/webapps/webdav /epe:running:1:/opt/epe/epe/epe.war /tomcat-docs:running:0:/opt/jakarta-tomcat-4.1.12/webapps/tomcat-docs /admin:running:0:../server/webapps/admin /manager:running:0:../server/webapps/manager /:running:1:/opt/jakarta-tomcat-4.1.12/webapps/ROOT The problem is when we try to undeploy it. http://localhost:8080/manager/undeploy?path=/epe FAIL - Cannot remove document base for path /epe Looking at the Tomcat directory # ls -l /usr/local/jakarta-tomcat-4.1.12/work/Standalone/localhost total 14 drwxr-xr-x 2 jakarta ctron 512 Oct 23 11:44 _ drwxr-xr-x 2 jakarta ctron 512 Oct 23 11:43 admin drwxr-xr-x 3 jakarta ctron 512 Oct 23 12:03 epe drwxr-xr-x 2 jakarta ctron 512 Oct 23 11:43 examples drwxr-xr-x 2 jakarta ctron 512 Oct 23 11:43 manager drwxr-xr-x 2 jakarta ctron 512 Oct 23 11:44 tomcat-docs drwxr-xr-x 2 jakarta ctron 512 Oct 23 11:44 webdav You can see the 'epe' subdirectory is there but is not be deployed, i.e. removed. Doing the following works correctly: http://localhost:8080/manager/stop?path=/epe http://localhost:8080/manager/remove?path=/epe But the following fails: http://localhost:8080/manager/undeploy?path=/epe Thanks Robert Wolf, 416-848-4790 x3 M-F 10:00am - 4:00pm EST -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>