You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/06/20 15:50:49 UTC

svn commit: r1494999 - in /tomcat/trunk: conf/context.xml webapps/docs/changelog.xml

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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org