Failure of one connector should not leave some connectors started and some ignored
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@929521
13f79535-47bb-0310-9956-
ffa450edef68
standardHost.validationDisabled=XML validation disabled
standardServer.initialize.initialized=This server has already been initialized
standardServer.shutdownViaPort=A valid shutdown command was received via the shutdown port. Stopping the Server instance.
+standardService.connector.failed=Failed to start connector [{0}]
standardService.initialize.initialized=This service has already been initialized
standardService.initialize.failed=Service initializing at {0} failed
standardService.register.failed=Error registering Service at domain {0}
// Initialize our defined Connectors
synchronized (connectors) {
for (int i = 0; i < connectors.length; i++) {
- connectors[i].initialize();
+ try {
+ connectors[i].initialize();
+ } catch (Exception e) {
+ log.error(sm.getString(
+ "standardService.connector.failed",
+ connectors[i]), e);
+ }
}
}
}