tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajnish Bhaskar" <r.bhas...@compserv.gla.ac.uk>
Subject Exception when killing Tomcat
Date Thu, 31 Aug 2000 11:13:12 GMT
Hi all,
	Occasionally when trying to terminate Tomcat (in Windows) 
using the provided shutdown batch file, I get the following exception:

java.net.ConnectException: Connection refused: no further 
information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at 
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
        at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:1
25)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
        at java.net.Socket.<init>(Socket.java:273)
        at java.net.Socket.<init>(Socket.java:100)
        at 
org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java:208)
        at 
org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:130)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)

and then there seems to be no way of shutting down the server 
without forcing the DOS window that it's running in to close (CTRL-
C doesn't work either).  Tomcat just seems to stop responding, it 
won't serve any pages at all.  It just seems to hang.

Can someone help?

Raj.

--------------------------
Rajnish Bhaskar
r.bhaskar@compserv.gla.ac.uk, http://i.am/rajy
IT Education Unit, University of Glasgow
http://www.iteu.gla.ac.uk/
--
Help feed the hungry people of the world.
Give a free donation of food at http://www.thehungersite.com


Mime
View raw message