tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Kilbride" <j...@kilbride.com>
Subject Re: tomcat startup problem
Date Mon, 16 Apr 2001 17:24:25 GMT
Looks like Tomcat may already be running or may not have shut down properly
from a previous run.

Try typing 'ps awx' from the command line and looking for java processes. If
java is running, first try stopping Tomcat again with the shutdown script.
If that doesn't get rid of all your java processes, run 'killall java' from
the command line -- assuming you don't have anything else important running
java on your machine! I've had to do this a few times, if Tomcat doesn't
shutdown properly on it's own.

Thanks,
--jeff

----- Original Message -----
From: "Chad Harrison" <chad@toshoklabs.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Monday, April 16, 2001 10:17 AM
Subject: tomcat startup problem


>
> redhat 7
> sun jdk 1.3
>
> when I try to run tomcat I get
>
> #./startup.sh
>
> Using classpath:
> /usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar:/usr/local/
>
tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/local/tomcat/lib/
>
servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/webserver.jar:
> /usr/java/jdk1.3.0_02/lib/tools.jar
>
> # 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /examples )
>
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx(  )
> 2001-04-16 10:14:56 - 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:408)
>          at java.net.ServerSocket.<init>(ServerSocket.java:170)
>          at java.net.ServerSocket.<init>(ServerSocket.java:121)
>          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(PoolTcpConnector.java:188)
>          at
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
>          at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>          at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>


Mime
View raw message