I have a UNIX system configured with two IP addresses: x.x.x.110 and
x.x.x.111

I have an Apache running, listening on x.x.x.110:80. I want to start
catalina
listening on x.x.x.111:80.

Here is my server.xml file:

<Server port="8005" shutdown="SHUTDOWN" debug="0">
  <Service name="Tomcat-Standalone">
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="80" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="60000"/>

    <Engine name="Standalone" defaultHost="my.host.name" debug="0">
      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="catalina_log." suffix=".txt"
              timestamp="true"/>
      <Realm className="org.apache.catalina.realm.MemoryRealm" />
      <Host name="my.host.name" debug="0" appBase="webapps"
unpackWARs="true">

        <Valve className="org.apache.catalina.valves.AccessLogValve"
                 directory="logs"  prefix="localhost_access_log."
suffix=".txt"
                 pattern="common"/>
        <Logger className="org.apache.catalina.logger.FileLogger"
                 directory="logs"  prefix="localhost_log." suffix=".txt"
            timestamp="true"/>

        <Context path="cms" docBase="cms" reloadable="true"/>

      </Host>
    </Engine>
  </Service>
</Server>

my.host.name resolves to the correct IP address, the one with 111.

What I get is a BindException. I found an interesting log entry in
catalina_log:
2001-12-13 14:06:10 HttpConnector[80] Opening server socket on all host IP
addresses.

All host IPs ?  If this is what I think, then is sloppy design. If it is
not, then I must
have missed something in the server.xml comments documentation.

Is there any configuration trick here?

Thanx a lot,
Mircea.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to