Author: markt Date: Thu May 13 20:04:05 2010 New Revision: 943995 URL: http://svn.apache.org/viewvc?rev=943995&view=rev Log: Essentially revert r943726 Children may be added prior to calling Context.start() and they *do* need to be started in that case.
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=943995&r1=943994&r2=943995&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/core/StandardContext.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Thu May 13 20:04:05 2010 @@ -4630,6 +4630,13 @@ public class StandardContext extends Con // Notify our interested LifecycleListeners fireLifecycleEvent(Lifecycle.CONFIGURE_START_EVENT, null); + // Start our child containers, if not already started + for (Container child : findChildren()) { + if (!child.getState().isAvailable()) { + child.start(); + } + } + // Start the Valves in our pipeline (including the basic), // if any if (pipeline instanceof Lifecycle) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org