I believe you'll find that the BindException is occurring because Tomcat has
not totally shutdown.  On startup, it grabs the 2 server ports you specify
in the server.xml.  

It appears that 4.0.1 uses threads to go out and kill those server ports on
shutdown.  My experience has been that it takes between 2 seconds or more to
reliably assume those ports are now open again.  

If that is not the case, use netstat on the server and determine what is
using that port(s).  Perhaps there's another copy of tomcat running on those
ports (especially if you're using the default install).

-----Original Message-----
From: Andrew Bruno [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 7:28 PM
To: Tomcat-User (E-mail)
Subject: TC 4.0.1 - Catalina.start: LifecycleException


Hello tomcat-users,

I am receiving this problem on a Windows 2000 Server SP2, which is
trying to execute TOMCAT 4.0.1, using JDK 1.3.1_01 on port 8080.  Port
80 is used for IIS.

Any ideas what it could be related to?

Catalina.start: LifecycleException:  null.open:  java.net.BindException:
Address in use: JVM_Bind
LifecycleException:  null.open:  java.net.BindException: Address in use:
JVM_Bind
        at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnecto
r.java:1116)
        at
org.apache.catalina.core.StandardService.initialize(StandardService.java
:454)
        at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:5
52)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:775)
        at
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.net.BindException: Address in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at
org.apache.catalina.net.DefaultServerSocketFactory.createSocket(DefaultS
erverSocketFactory.java:118)
        at
org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java
:946)
        at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnecto
r.java:1114)
        at
org.apache.catalina.core.StandardService.initialize(StandardService.java
:454)
        at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:5
52)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:775)
        at
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

winmail.dat

Reply via email to