You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Ni <mi...@hotmail.com> on 2003/03/06 23:52:32 UTC

cannot shut down

i get this error when shutting down...does anyone know why?

mike

C:\Tomcat 4.1\bin>shutdown.bat
Using CATALINA_BASE:   C:\Tomcat 4.1
Using CATALINA_HOME:   C:\Tomcat 4.1
Using CATALINA_TMPDIR: C:\Tomcat 4.1\temp
Using JAVA_HOME:       c:\j2sdk1.4.1_01
Catalina.stop: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:426)
        at java.net.Socket.connect(Socket.java:376)
        at java.net.Socket.<init>(Socket.java:291)
        at java.net.Socket.<init>(Socket.java:119)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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


Re: cannot shut down

Posted by "Lloyd A. Duke" <li...@lloyd-duke.net>.
I usually see this when tomcat is not running or tomat is in a state of 
not accepting connections. This could happen for variouus reasons. 
Usually it means that tomcat is either not yet accepting connections 
(durring startup. perhaps its hanging on some startup servlet) or has 
ceased to accept them (either during shut down or perhaps a 
irrecoverable error occured.



Michael Ni wrote:

> i get this error when shutting down...does anyone know why?
>
> mike
>
> C:\Tomcat 4.1\bin>shutdown.bat
> Using CATALINA_BASE:   C:\Tomcat 4.1
> Using CATALINA_HOME:   C:\Tomcat 4.1
> Using CATALINA_TMPDIR: C:\Tomcat 4.1\temp
> Using JAVA_HOME:       c:\j2sdk1.4.1_01
> Catalina.stop: java.net.ConnectException: Connection refused: connect
> java.net.ConnectException: Connection refused: connect
>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:
>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>        at java.net.Socket.connect(Socket.java:426)
>        at java.net.Socket.connect(Socket.java:376)
>        at java.net.Socket.<init>(Socket.java:291)
>        at java.net.Socket.<init>(Socket.java:119)
>        at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
>        at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
>        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso
> java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>




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