tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Brikman (ybrikman)" <ybrik...@cisco.com>
Subject Error when shutting down Tomcat
Date Thu, 10 Jan 2008 20:12:53 GMT
If I start Tomcat and let it run for ~30 seconds (ie, let my webapp load
completely), I can shut it down without any errors. However, if I start
Tomcat and very shortly after try to shut it down again (before my
webapp has finished loading), I get the following error in the logs:
 
: : Oct 26 2007 14:00:44.124 -0400: %_--: Catalina.stop:  
java.net.ConnectException: Connection refused: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
 at java.net.Socket.connect(Socket.java:519)
 at java.net.Socket.connect(Socket.java:469)
 at java.net.Socket.<init>(Socket.java:366)
 at java.net.Socket.<init>(Socket.java:179)
 at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)

Nothing else appears in the logs afterwards, so I have no idea what's
happening, but I'm pretty sure Tomcat keeps running and my webapp's
shutdown code is never called. 
 
Any ideas?
 
Thanks,
Jim

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message