tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Pfeifer <CEPfei...@aethersystems.com>
Subject RE: tomcat startup problem
Date Mon, 16 Apr 2001 17:23:13 GMT
This should be in an FAQ somewhere..

If I'm not mistaken, this error :

> FATAL:java.net.BindException: Address already in use
>          at java.net.PlainSocketImpl.socketBind(Native Method)

means that there's already another application that has bound to the socket
that you are trying to use.

So, chances are another instance of Tomcat is running on this machine
already.

Craig Pfeifer
Software Engineer
Aether Systems, Software Products Division
703.847.3303 x2053
cepfeifer@aethersystems.com

  


> -----Original Message-----
> From: Chad Harrison [mailto:chad@toshoklabs.com]
> Sent: Monday, April 16, 2001 1:18 PM
> To: tomcat-user@jakarta.apache.org
> 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/loca
> l/tomcat/lib/
> servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/w
> ebserver.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(PoolTc
> pEndpoint.java:
> 239)
>          at 
> org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnec
> tor.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