DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7398>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7398 ConnectException happen intermittently when shutdown tomcat Summary: ConnectException happen intermittently when shutdown tomcat Product: Tomcat 4 Version: 4.0.3 Final Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] when I try to shutdown Tomcat sometimes it will stop and throw a ConnectExpection like below. Please note that this does not happen everytimes I try to shutdown Tomcat but it happen quite often in my case. I did make sure that Tomcat still running and perhaps running the stop script again would work most of the time and shutdown Tomcat successfully. I am on a RedHat 7.2 machine. However I have searched around before submitting the bug that other people have encounter the same problem in different version of Tomcat, platform and OS as well. I haven't seen a fix for it yet beside my work around is to run the stop script again. #bin/catalina.sh stop Using CATALINA_BASE: /usr/local/tomcat-4.0.3 Using CATALINA_HOME: /usr/local/tomcat-4.0.3 Using CATALINA_TMPDIR: /usr/local/tomcat-4.0.3/temp Using JAVA_HOME: /usr/java/jdk1.3.1_02/ 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: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:100) 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 java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) It seem to me Tomcat fail to reponse to the shutdown signal occasionally which is weird.. since Tomcat response to all the web request beautifully when I hit the test page everything work out nicely I don't notice any slowness in reponding nor encounter any error. Either that or the shutdown script fail to wait for Tomcat to shutdown, but those are just my guesses. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>