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 2015/03/04 16:22:35 UTC

[Bug 56608] WatchedResource configured in $TomcatHome\conf\Catalina\localhost context XML file not triggering context reload after working for several days

https://bz.apache.org/bugzilla/show_bug.cgi?id=56608

--- Comment #8 from Mark Thomas <ma...@apache.org> ---
Sorry it has taken me a while to get around to looking at this.

I've been able to figure out what is going on. The sequence of events is:

1. Start with everything working
2. Network hosting docBase drops out
3. Tomcat detects this an undeploys the app
   This includes removing context.xml
4. Your script re-adds context.xml
5. Network still not available so Context fails to start. This failure happens
   before watched resources are added to the Context.
6. The network comes back up.
7. Context is re-loaded. (Re0loading does not re-parse context.xml)
8. Context is running without watched resource information

The work-around is to touch the context.xml file to trigger a re-deploy rather
than to reload it through the manager.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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