tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abid Ali Teepo" <abid.ali.te...@mogul.com>
Subject I get an exception when i stop tomcat ?
Date Mon, 16 Jun 2003 11:04:58 GMT
Hi

I get a java.net.BindException : Cannot assign requested address when i stop tomcat. I have
only installed it yet and done nothing else then a start and a stop. The version is 4.1.24.
I use the start and stop scripts that are included in the installation.

Everything works, i can see the tomcat page on localhost port 8080, and i even changed
the port to 9090, and it still works, so i don't think this is a port number issue.

When i doubleclick the stop script i get this message in the window that started tomcat :

F:\acs>E:\Java\jdk1.3.1\bin\java.exe -jar -Duser.dir="E:\Program Files\Apache Gr
oup\Tomcat 4.1" "E:\Program Files\Apache Group\Tomcat 4.1\bin\bootstrap.jar" start
[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 9090 
Starting service Tomcat Standalone Apache Tomcat/4.1.24
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 9090
[INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009
[INFO] JkMain - -Jk running ID=0 time=10/130  config=E:\Program Files\Apache Gro
up\Tomcat 4.1\conf\jk2.properties
Stopping service Tomcat-Standalone
java.net.BindException: Cannot assign requested address: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
        at java.net.Socket.<init>(Socket.java:273)
        at java.net.Socket.<init>(Socket.java:127)
        at org.apache.jk.common.ChannelSocket.destroy(ChannelSocket.java:384)
        at org.apache.jk.server.JkMain.stop(JkMain.java:308)
        at org.apache.jk.server.JkCoyoteHandler.destroy(JkCoyoteHandler.java:179)
        at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1166)
        at org.apache.catalina.core.StandardService.stop(StandardService.java:546)
        at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:543)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message