Author: markt Date: Thu Sep 2 08:01:20 2010 New Revision: 991842 URL: http://svn.apache.org/viewvc?rev=991842&view=rev Log: Add a comment as a reminder
Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardContext.java?rev=991842&r1=991841&r2=991842&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/core/StandardContext.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Thu Sep 2 08:01:20 2010 @@ -5048,6 +5048,10 @@ public class StandardContext extends Con private void resetContext() throws Exception { // Restore the original state ( pre reading web.xml in start ) // If you extend this - override this method and make sure to clean up + + // Don't reset anything that is read from a <Context.../> element since + // <Context .../> elements are read at initialisation will not be read + // again for this object children = new HashMap<String, Container>(); startupTime = 0; startTime = 0; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org