You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sampath K Settipalli <Sa...@genome.wi.mit.edu> on 2001/07/20 17:35:45 UTC
starting tomcat 3.2.3
Hi ,
I downloaded tomcat 3.2.3. When I try to start it it displays below
messages and then the error messages. It's on sun solaris. Why am I
getting this error and how can I overcome this.
--------------------------------------
2001-07-20 09:58:57 - ContextManager: Adding context Ctx( /examples )
Starting tomcat. Check logs/tomcat.log for error messages
2001-07-20 09:58:57 - ContextManager: Adding context Ctx( /admin )
2001-07-20 09:58:57 - ContextManager: Adding context Ctx( )
2001-07-20 09:58:57 - ContextManager: Adding context Ctx( /test )
FATAL: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:390)
at java.net.ServerSocket.<init>(ServerSocket.java:173)
at java.net.ServerSocket.<init>(ServerSocket.java:124)
at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:97)
at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:239)
at org.apache.tomcat.service.PoolTcpConnector.start(Compiled
Code)
at org.apache.tomcat.core.ContextManager.start(Compiled Code)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
---------------------------------------
Thanks in Advance,
Sam
Re: starting tomcat 3.2.3
Posted by David Haraburda <da...@haraburda.com>.
Hi Sampath,
This is most likely one of two things:
1) Some other program is already running and using port 8080. You can use netstat to check this
out. You might to telnet to port 8080 and see what you get.
2) This may be because you had previously started Tomcat, without stopping it, and are now trying to
start it again. You should stop tomcat using the shutdown scripts, or, easier -- use the tomcat.sh
script (type 'tomcat.sh' to see usage) to start and shutdown Tomcat.
David
Sampath K Settipalli wrote:
> Hi ,
>
> I downloaded tomcat 3.2.3. When I try to start it it displays below
> messages and then the error messages. It's on sun solaris. Why am I
> getting this error and how can I overcome this.
>
> --------------------------------------
> 2001-07-20 09:58:57 - ContextManager: Adding context Ctx( /examples )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-07-20 09:58:57 - ContextManager: Adding context Ctx( /admin )
> 2001-07-20 09:58:57 - ContextManager: Adding context Ctx( )
> 2001-07-20 09:58:57 - ContextManager: Adding context Ctx( /test )
> FATAL: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:390)
> at java.net.ServerSocket.<init>(ServerSocket.java:173)
> at java.net.ServerSocket.<init>(ServerSocket.java:124)
> at
> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:97)
>
> at
> org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:239)
>
> at org.apache.tomcat.service.PoolTcpConnector.start(Compiled
> Code)
> at org.apache.tomcat.core.ContextManager.start(Compiled Code)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>
> ---------------------------------------
>
> Thanks in Advance,
> Sam
RE: starting tomcat 3.2.3
Posted by Gautam Sinha <ga...@embracenetworks.com>.
This usually happens when tomcat's default port (8080) is already in use.
A simple check would be to point your browser to "http://localhost:8080" and
see if you have another http service running on that port.
If not, it could be that some other service is using that port.
Gautam
-----Original Message-----
From: Sampath K Settipalli [mailto:Sampath@genome.wi.mit.edu]
Sent: Friday, July 20, 2001 8:36 AM
To: tomcat-user@jakarta.apache.org
Subject: starting tomcat 3.2.3
Hi ,
I downloaded tomcat 3.2.3. When I try to start it it displays below
messages and then the error messages. It's on sun solaris. Why am I
getting this error and how can I overcome this.
--------------------------------------
2001-07-20 09:58:57 - ContextManager: Adding context Ctx( /examples )
Starting tomcat. Check logs/tomcat.log for error messages
2001-07-20 09:58:57 - ContextManager: Adding context Ctx( /admin )
2001-07-20 09:58:57 - ContextManager: Adding context Ctx( )
2001-07-20 09:58:57 - ContextManager: Adding context Ctx( /test )
FATAL: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:390)
at java.net.ServerSocket.<init>(ServerSocket.java:173)
at java.net.ServerSocket.<init>(ServerSocket.java:124)
at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerS
ocketFactory.java:97)
at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java
:239)
at org.apache.tomcat.service.PoolTcpConnector.start(Compiled
Code)
at org.apache.tomcat.core.ContextManager.start(Compiled Code)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
---------------------------------------
Thanks in Advance,
Sam