Make sure children are stopped if they are running when the parent stops.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@960076
13f79535-47bb-0310-9956-
ffa450edef68
children.remove(child.getName());
}
- if (getState().isAvailable()) {
- try {
- if (child.getState().isAvailable()) {
- child.stop();
- }
- } catch (LifecycleException e) {
- log.error("ContainerBase.removeChild: stop: ", e);
+ try {
+ if (child.getState().isAvailable()) {
+ child.stop();
}
+ } catch (LifecycleException e) {
+ log.error("ContainerBase.removeChild: stop: ", e);
}
fireContainerEvent(REMOVE_CHILD_EVENT, child);
rather than an empty string. (markt)
</fix>
<fix>
+ <bug>49530</bug>: Contexts and Servlets not stopped when Tomcat is shut
+ down. (markt)
+ </fix>
+ <fix>
<bug>49536</bug>: If no ROOT context is deployed, ensure a 404 rather
than a 200 is returned for requests that don't map to any other context.
(markt)