I have a similar problem.
I have two Tomcat instances installed on the same server. I want them each
to bind to a specific IP address and use port 8080. See config snippets
below. Even though I specify an address, they clobber each other.
Whichever one starts first wins. Anyone know what I'm doing wrong? I'm
using Tomcat 4.x
--Dan
Server#1
<Connector className="org.apache.catalina.connector.http.HttpConnector"
address="12.12.12.12"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="60000"/>
Server#2
<Connector className="org.apache.catalina.connector.http.HttpConnector"
address="13.13.13.13"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="60000"/>
Starting service Tomcat-Standalone
Apache Tomcat/4.1
StandardServer.await: create[8005]: java.net.BindException: Address already
in use
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:324)
at java.net.ServerSocket.<init>(ServerSocket.java:186)
at org.apache.catalina.core.StandardServer.await(Unknown Source)
at org.apache.catalina.startup.Catalina.start(Unknown Source)
at org.apache.catalina.startup.Catalina.execute(Unknown Source)
at org.apache.catalina.startup.Catalina.process(Unknown Source)
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:324)
at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]