From: markt Date: Wed, 12 May 2010 22:32:22 +0000 (+0000) Subject: Wrappers are started when added to the Context (since the Context is already starting... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a91d2f2249cd9b9f2d8797dd59376da6a9b9507d;p=tomcat7.0 Wrappers are started when added to the Context (since the Context is already starting). Don't try and start them twice. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@943726 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/core/StandardContext.java b/java/org/apache/catalina/core/StandardContext.java index 3869e0535..2cca32f3e 100644 --- a/java/org/apache/catalina/core/StandardContext.java +++ b/java/org/apache/catalina/core/StandardContext.java @@ -4630,12 +4630,6 @@ public class StandardContext extends ContainerBase // Notify our interested LifecycleListeners fireLifecycleEvent(Lifecycle.CONFIGURE_START_EVENT, null); - // Start our child containers, if any - Container children[] = findChildren(); - for (int i = 0; i < children.length; i++) { - children[i].start(); - } - // Start the Valves in our pipeline (including the basic), // if any if (pipeline instanceof Lifecycle) {