tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: java.net.BindException: Address already in use
Date Fri, 29 Jun 2007 17:35:15 GMT
1) You kill tomcat. kill -9
2) Then figure out why tomcat is still running (kill -3 to create a 
stack trace)

In reality - you want to get the stacktrace before you run the kill -9

-Tim

Bruno Vilardo wrote:
> Hello All,
> 
> Linux 2.6.9-55.ELsmp
> tomcat.version=5.5.9
> java version = 1.5
> 
> We have an application that uses Tomcat and Java (Sorry I am newbie to this
> topic).
> 
> This morning our Tomcat server stopped and When we try to startup, it says
> it is started but I can not connect to the Tomcat Admin Page nor the 
> Manager
> page.
> I tried to stop it again, but then when I check the process, using "ps
> -ef|grep tomcat" the process still there.
> 
> I found some messages that perhaps is causing this issue. Please see below:
> 
> java.net.BindException: Address already in use
>        at java.net.PlainSocketImpl.socketBind(Native Method)
>        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
>        at java.net.ServerSocket.bind(ServerSocket.java:319)
>        at java.net.ServerSocket.<init>(ServerSocket.java:185)
>        at org.apache.catalina.core.StandardServer.await(StandardServer.java
> :346)
>        at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
>        at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message