Hi, I am trying to understand the internals of undeploying an application. After looking at the source code of
org.apache.catalina.manager.ManagerServlet as available in the source package for apache-tomcat-6.0.24, specifically the part that starts at line 1361 (may differ from the current repository version, but hopefully not by much) inside method undeploy(PrintWriter writer, String path) I still could not figure out a few details: 1. Are the calls to "addServiced(path)" (line 1362) and "removeServiced(path.replace('#','/'))" (1386) there just to keep someone else to try and undeploy the app while we are already doing it or do they serve some other purpose? 2. Why calling "check(path.replace('#', '/'))" at line 1384? Would undeploy work just the same without this call? 3. Is undeploying, at least as far as ManagerServlet and classes operating at the same layer are concerned, just about erasing the app's WAR file, or its directory if there is no WAR, or its config file if there is neither? I ran a few tests and noticed code that just erases the relevant files does work, but really seem overly simplistic, so now am asking myself where to draw the line. Thanks in advance, any help is appreciated Guilherme --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org