On 14/03/2010 00:44, Guilherme Rios wrote:
Thanks Mark, just one minor clarification please:

On Sat, 2010-03-13 at 22:44 +0000, 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 converts this to foo#bar when it creates the directory.

Got it, but my question was why calling check() at all at this point?
There is a comment nearby saying "perform new deployment", what does it
mean? I am guessing the call to check() speeds up updating the internal
state after undeploying and that's all there is to it. Am I missing
something more critical that might be happening here?

It is forcing the deployment process. Two reasons:
1. So the manager knows the app is deployed
2. autoDeploy may not be enabled for the host so the deployment has to be manually triggered.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to