You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Mircea Zahan <mz...@level7.ro> on 2001/12/13 15:32:27 UTC
Help: Catalina fails to start on a multihomed system
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Help: Catalina fails to start on a multihomed system
Posted by Mircea Zahan <mz...@level7.ro>.
Right, my mistake, sorry.
----- Original Message -----
From: "Martin Poeschl" <mp...@marmot.at>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Thursday, December 13, 2001 4:41 PM
Subject: Re: Help: Catalina fails to start on a multihomed system
> you should ask tomcat questions on the tomcat-user list
>
> martin
>
> Mircea Zahan wrote:
>
> > 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:
<ma...@jakarta.apache.org>
> > For additional commands, e-mail:
<ma...@jakarta.apache.org>
> >
> >
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Help: Catalina fails to start on a multihomed system
Posted by Martin Poeschl <mp...@marmot.at>.
you should ask tomcat questions on the tomcat-user list
martin
Mircea Zahan wrote:
> 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: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>