Author: markt
Date: Thu Jun 20 13:50:49 2013
New Revision: 1494999
URL: http://svn.apache.org/r1494999
Log:
Make changes to global web.xml trigger reloads
Modified:
tomcat/trunk/conf/context.xml
tomcat/trunk/webapps/docs/changelog.xml
Modified: tomcat/trunk/conf/context.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/conf/context.xml?rev=1494999&r1=1494998&r2=1494999&view=diff
==============================================================================
--- tomcat/trunk/conf/context.xml (original)
+++ tomcat/trunk/conf/context.xml Thu Jun 20 13:50:49 2013
@@ -18,8 +18,10 @@
<!-- The contents of this file will be loaded for each web application -->
<Context>
- <!-- Default set of monitored resources -->
+ <!-- Default set of monitored resources. If one of these changes, the
-->
+ <!-- web application will be reloaded.
-->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
+ <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts
-->
<!--
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1494999&r1=1494998&r2=1494999&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Thu Jun 20 13:50:49 2013
@@ -125,6 +125,10 @@
application (located under $CATALINA_BASE/work by default) from _ to
ROOT. (markt)
</fix>
+ <add>
+ Change default configuration so that a change to the global web.xml
file
+ will trigger a reload of all web applications. (markt)
+ </add>
</changelog>
</subsection>
<subsection name="Coyote">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]