tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <adam.ha...@cyberspaceroad.com>
Subject problems shutting down tomcat 4.0.3: java.net.ConnectException
Date Fri, 31 May 2002 15:19:25 GMT
For the archives I just found that this exception occurs when you try 
shutting tomcat down too quickly before it has finished starting.

>
>   problems shutting down tomcat 4.0.3: java.net.ConnectException
>
> ------------------------------------------------------------------------
>
>     * From: Neil Zanella
>     * Subject: problems shutting down tomcat 4.0.3:
>       java.net.ConnectException
>     * Date: Mon, 27 May 2002 15:35:36 -0700
>
> ------------------------------------------------------------------------
>
>Hello,
>
>Sometimes, when I try to shut down tomcat I get the following errors, 
>other times I do not. I am on Red Hat 7.3 with sun jdk 1.4. These
>errors show up roughly 50% of the time.
>
># $CATALINA_HOME/bin/startup.sh
>Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0.3
>Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.0.3
>Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0.3/temp
>Using JAVA_HOME:       /usr/local/j2sdk1.4.0
># $CATALINA_HOME/bin/shutdown.sh
>Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0.3
>Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.0.3
>Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0.3/temp
>Using JAVA_HOME:       /usr/local/j2sdk1.4.0
>Catalina.stop: java.net.ConnectException: Connection refused
>java.net.ConnectException: Connection refused
>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
>        at 
>java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
>        at java.net.Socket.connect(Socket.java:425)
>        at java.net.Socket.connect(Socket.java:375)
>        at java.net.Socket.<init>(Socket.java:290)
>        at java.net.Socket.<init>(Socket.java:118)
>        at org.apache.catalina.startup.Catalina.stop(Catalina.java:831)
>        at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
>        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
>
>Other times shutting down works just fine:
>
># $CATALINA_HOME/bin/startup.sh
>Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0.3
>Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.0.3
>Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0.3/temp
>Using JAVA_HOME:       /usr/local/j2sdk1.4.0
># $CATALINA_HOME/bin/shutdown.sh
>Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0.3
>


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


Mime
View raw message