Children may be added prior to calling Context.start() and they *do* need to be started in that case.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@943995
13f79535-47bb-0310-9956-
ffa450edef68
// 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) {