tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33572] New: - webapp not reload after META-INF/context.xml change
Date Mon, 14 Feb 2005 22:08:06 GMT
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


Mime
View raw message