You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Halsted <ha...@tcimet.net> on 2000/09/12 17:44:06 UTC
Apache connector question
I'm trying to run Tomcat with Apache 1.3.12 on a RedHat box. I'm getting an
error when I start up Tomcat that is sparked by the connectors in server.xml
(when I comment them out it goes away). This machine has a firewall running
on it and I wonder if that's messing it up; I'm not sure what else would be
using the addresses it's trying to get at (I'm just using the defaults for
everything). Tomcat itself is fine as long as I hit the 8080 port directly,
and I've run JServ successfully on this machine before.
Thanks,
Dave Halsted
FATAL:java.net.BindException: Address already in use
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(NativeMethod)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:386)
at java.net.ServerSocket(ServerSocket.java:169)
at java.net.ServerSocket(ServerSocket.java:120)
at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerS
ocketFactory.java:97)
at
org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(SimpleTcpEndpoint.
java:186)
at
org.apache.tomcat.service.SimpleTcpConnector.start(SimpleTcpConnector.java:1
42)
at org.apache.tomcat.core.ContextManager.start(ContextManager.java:253)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:157)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
Re: Apache connector question
Posted by David Halsted <ha...@tcimet.net>.
Worked. Excellent, a thousand thanks.
----- Original Message -----
From: Thomas Hagedorn <Th...@alcatel.de>
To: <to...@jakarta.apache.org>
Sent: Tuesday, September 12, 2000 12:41 PM
Subject: Re: Apache connector question
> Hm,
>
> which JDK are you using?
> Try a 'ps -auxw | grep java' to see all the java proceses started.
> Sometimes Tomcat dies not perfectly and stays living in the
> underground, then you'll have a problem contacting again to the apache.
>
> best regards
> tom
>
> Am Die, 12 Sep 2000 schrieben Sie:
> > I'm trying to run Tomcat with Apache 1.3.12 on a RedHat box. I'm
getting an
> > error when I start up Tomcat that is sparked by the connectors in
server.xml
> > (when I comment them out it goes away). This machine has a firewall
running
> > on it and I wonder if that's messing it up; I'm not sure what else would
be
> > using the addresses it's trying to get at (I'm just using the defaults
for
> > everything). Tomcat itself is fine as long as I hit the 8080 port
directly,
> > and I've run JServ successfully on this machine before.
> >
> > Thanks,
> > Dave Halsted
> >
> > FATAL:java.net.BindException: Address already in use
> > java.net.BindException: Address already in use
> > at java.net.PlainSocketImpl.socketBind(NativeMethod)
> > at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:386)
> > at java.net.ServerSocket(ServerSocket.java:169)
> > at java.net.ServerSocket(ServerSocket.java:120)
> > at
> >
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerS
> > ocketFactory.java:97)
> > at
> >
org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(SimpleTcpEndpoint.
> > java:186)
> > at
> >
org.apache.tomcat.service.SimpleTcpConnector.start(SimpleTcpConnector.java:1
> > 42)
> > at
org.apache.tomcat.core.ContextManager.start(ContextManager.java:253)
> > at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:157)
> > at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
>
Re: Apache connector question
Posted by Thomas Hagedorn <Th...@alcatel.de>.
Hm,
which JDK are you using?
Try a 'ps -auxw | grep java' to see all the java proceses started.
Sometimes Tomcat dies not perfectly and stays living in the
underground, then you'll have a problem contacting again to the apache.
best regards
tom
Am Die, 12 Sep 2000 schrieben Sie:
> I'm trying to run Tomcat with Apache 1.3.12 on a RedHat box. I'm getting an
> error when I start up Tomcat that is sparked by the connectors in server.xml
> (when I comment them out it goes away). This machine has a firewall running
> on it and I wonder if that's messing it up; I'm not sure what else would be
> using the addresses it's trying to get at (I'm just using the defaults for
> everything). Tomcat itself is fine as long as I hit the 8080 port directly,
> and I've run JServ successfully on this machine before.
>
> Thanks,
> Dave Halsted
>
> FATAL:java.net.BindException: Address already in use
> java.net.BindException: Address already in use
> at java.net.PlainSocketImpl.socketBind(NativeMethod)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:386)
> at java.net.ServerSocket(ServerSocket.java:169)
> at java.net.ServerSocket(ServerSocket.java:120)
> at
> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerS
> ocketFactory.java:97)
> at
> org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(SimpleTcpEndpoint.
> java:186)
> at
> org.apache.tomcat.service.SimpleTcpConnector.start(SimpleTcpConnector.java:1
> 42)
> at org.apache.tomcat.core.ContextManager.start(ContextManager.java:253)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:157)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)