https://issues.apache.org/bugzilla/show_bug.cgi?id=46461
Summary: fail graceful on dns changes for connectors/hosts in
server.xml
Product: Tomcat 6
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
in a server.xml,
there are n > 4 connectors declared on a physical machine with multiple ip
addresses.
Due to a dns change, connector 2 and connector 3 end up with the same ip
address.
This rightfully causes connector 3 not to get up and running with
ERROR [main] (Catalina.java:553) - Catalina.start:
LifecycleException: service.getName(): "HTTPSmyApp3"; Protocol handler start
failed: java.net.BindException: Address already in use:8443
at org.apache.catalina.connector.Connector.start(Connector.java:1096)
at
org.apache.catalina.core.StandardService.start(StandardService.java:459)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
However, all subsequent connectors 4..n will not start either - isn't a
dns-misconfiguration having too big effect on a mostly correct server.xml
config?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]