The moose likes Tomcat and the fly likes shutting down tomcat rises to an exception Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "shutting down tomcat rises to an exception" Watch "shutting down tomcat rises to an exception" New topic
Author

shutting down tomcat rises to an exception

Richard Huges
Greenhorn

Joined: Nov 10, 2003
Posts: 6
hi
i'm using tomcat 4.1 with applet/servlet communication. When i shutdown tomcat i get this exception:
java.net.BindException: Cannot assign requested address: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:355)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:142)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:129)
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:311)
at org.apache.jk.server.JkCoyoteHandler.destroy(JkCoyoteHandler.java:181)
at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1205)
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)
I have no idea where the problem is.
thanks richard
Vad Fogel
Ranch Hand

Joined: Aug 25, 2003
Posts: 504
It could be a port conflict. Did you try to reassign the port?
Richard Huges
Greenhorn

Joined: Nov 10, 2003
Posts: 6
I modified the tomcat configuration-files less. so i use the default port 8080. i have never changed this setting.
Vad Fogel
Ranch Hand

Joined: Aug 25, 2003
Posts: 504
Check other applications you had installed after Tomcat for port assignments.
 
IntelliJ Java IDE
 
subject: shutting down tomcat rises to an exception
 
Threads others viewed
Another shutting down problem
Tomcat Shutdown problem
Tomcat Shutdown problem
tomcat configuration problem
connection refused on tomcat web server
IntelliJ Java IDE