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 2005/02/14 23:08:06 UTC
DO NOT REPLY [Bug 33572] New: -
webapp not reload after META-INF/context.xml change
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33572>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33572
Summary: webapp not reload after META-INF/context.xml change
Product: Tomcat 5
Version: 5.5.7
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: normal
Priority: P3
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: amoebaworks@yahoo.ca
I have an unpacked webapp (named test) and if I change the web.xml for it, the
webapp gets reloaded. However if I change the META-INF/context.xml for it, it
doesn't get reloaded. It's a WatchedResource too like web.xml. All I'm doing is
changing a context-param value in context.xml (as a trivial example to explain
my issue).
When I change context.xml, I get this in the log:
Feb 13, 2005 6:11:39 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/test]
So it looks like it should be reloaded, but my param doesn't.
In:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
There is:
<snip>
WatchedResource - The auto deployer will monitor the specified static resource
of the web application for updates, and will reload the web application if is is
updated. The content of this element must be a string.
</snip>
So I'm not dreaming.
I've also tried restaring the webapp with the manager webapp and still no change
to the param.
I'm attaching a webapp that can be dropped into the default tomcat 5.5.7.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org