Re: Programmatically undeploying a webapp

2010-03-15 Thread Mark Thomas
On 14/03/2010 00:44, Guilherme Rios wrote: Thanks Mark, just one minor clarification please: On Sat, 2010-03-13 at 22:44 +, Mark Thomas wrote: 2. Why calling "check(path.replace('#', '/'))" at line 1384? Would undeploy work just the same without this call? Support for contexts with paths

Re: Programmatically undeploying a webapp

2010-03-13 Thread Guilherme Rios
Thanks Mark, just one minor clarification please: On Sat, 2010-03-13 at 22:44 +, Mark Thomas wrote: > > > 2. Why calling "check(path.replace('#', '/'))" at line 1384? Would > > undeploy work just the same without this call? > Support for contexts with paths of the form /foo/bar. > Tomcat conv

Re: Programmatically undeploying a webapp

2010-03-13 Thread Mark Thomas
On 13/03/2010 14:09, Guilherme Rios wrote: 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 Yes. or do they serve some other purpose? No. 2. Why ca

Programmatically undeploying a webapp

2010-03-13 Thread Guilherme Rios
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 r