RE: tomcat 4.1.27: cannot shutdown tomcat !!
Buongiorno ;) That's not an exception we see very often. Your server.xml still has the default shutdown port (8005)? Can you telnet to localhost:8005 and issue SHUTDOWN? Do you have a strange networking setup on this machine? During shutdown, tomcat tries to connect to the server shutdown port and issue the simple string command, SHUTDOWN. For safety, tomcat will only accept connections from localhost on the shutdown port. Yoav Shapira Millennium ChemInformatics -Original Message- From: Fabio Bazzani [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 12:29 PM To: Tomcat Users List Subject: tomcat 4.1.27: cannot shutdown tomcat !! I'm working with JDK 1.4.0 and tomcat 4.1.27. I'm in advanced development and unexpectedly I cannot shutdown Tomcat. I spent all day to try undertand the why ? shell error message: Stopping service Tomcat-Standalone java.net.NoRouteToHostException: No route to host: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:159) 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:146) at org.apache.jk.common.ChannelSocket.destroy(ChannelSocket.java:384) at org.apache.jk.server.JkMain.stop(JkMain.java:311) at org.apache.jk.server.JkCoyoteHandler.destroy(JkCoyoteHandler.java:181) at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:120 5) at org.apache.catalina.core.StandardService.stop(StandardService.java:546) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225) at org.apache.catalina.startup.Catalina.start(Catalina.java:543) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja va:3 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImp l.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Does anybody know what happened ? Thank you. Fabio This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat 4.1.27: cannot shutdown tomcat !!
- Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 04, 2003 3:01 PM Subject: RE: tomcat 4.1.27: cannot shutdown tomcat !! Buongiorno ;) That's not an exception we see very often. Your server.xml still has the default shutdown port (8005)? YES Can you telnet to localhost:8005 and issue SHUTDOWN? NO Do you have a strange networking setup on this machine? I'm not connected to any network !! During shutdown, tomcat tries to connect to the server shutdown port and issue the simple string command, SHUTDOWN. For safety, tomcat will only accept connections from localhost on the shutdown port. Yoav Shapira Millennium ChemInformatics -Original Message- From: Fabio Bazzani [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 12:29 PM To: Tomcat Users List Subject: tomcat 4.1.27: cannot shutdown tomcat !! I'm working with JDK 1.4.0 and tomcat 4.1.27. I'm in advanced development and unexpectedly I cannot shutdown Tomcat. I spent all day to try undertand the why ? shell error message: Stopping service Tomcat-Standalone java.net.NoRouteToHostException: No route to host: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:159) 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:146) at org.apache.jk.common.ChannelSocket.destroy(ChannelSocket.java:384) at org.apache.jk.server.JkMain.stop(JkMain.java:311) at org.apache.jk.server.JkCoyoteHandler.destroy(JkCoyoteHandler.java:181) at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:120 5) at org.apache.catalina.core.StandardService.stop(StandardService.java:546) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225) at org.apache.catalina.startup.Catalina.start(Catalina.java:543) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja va:3 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImp l.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Does anybody know what happened ? Thank you. Fabio This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
(errata corrige) tomcat 4.1.27: cannot shutdown tomcat !!
I'm sorry for previous wrong message !! This is the correct one !! see details down. Fabio - Original Message - From: Fabio Bazzani [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:03 PM Subject: tomcat 4.1.27: cannot shutdown tomcat !! - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 04, 2003 3:01 PM Subject: RE: tomcat 4.1.27: cannot shutdown tomcat !! Buongiorno ;) That's not an exception we see very often. Your server.xml still has the default shutdown port (8005)? YES Can you telnet to localhost:8005 and issue SHUTDOWN? YES, but how to issue shutdown ? Do you have a strange networking setup on this machine? I'm not connected to any network !! During shutdown, tomcat tries to connect to the server shutdown port and issue the simple string command, SHUTDOWN. For safety, tomcat will only accept connections from localhost on the shutdown port. Yoav Shapira Millennium ChemInformatics -Original Message- From: Fabio Bazzani [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 12:29 PM To: Tomcat Users List Subject: tomcat 4.1.27: cannot shutdown tomcat !! I'm working with JDK 1.4.0 and tomcat 4.1.27. I'm in advanced development and unexpectedly I cannot shutdown Tomcat. I spent all day to try undertand the why ? shell error message: Stopping service Tomcat-Standalone java.net.NoRouteToHostException: No route to host: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:159) 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:146) at org.apache.jk.common.ChannelSocket.destroy(ChannelSocket.java:384) at org.apache.jk.server.JkMain.stop(JkMain.java:311) at org.apache.jk.server.JkCoyoteHandler.destroy(JkCoyoteHandler.java:181) at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:120 5) at org.apache.catalina.core.StandardService.stop(StandardService.java:546) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225) at org.apache.catalina.startup.Catalina.start(Catalina.java:543) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja va:3 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImp l.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Does anybody know what happened ? Thank you. Fabio This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat 4.1.27: cannot shutdown tomcat !!
Howdy, Can you telnet to localhost:8005 and issue SHUTDOWN? NO This is probably the cause for your error. You have to be able to telnet (or otherwise connect via http) localhost port 8005 and issue the SHUTDOWN command. If you can't do it manually, tomcat won't be able to do it either ;) Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: (errata corrige) tomcat 4.1.27: cannot shutdown tomcat !!
Howdy, Can you telnet to localhost:8005 and issue SHUTDOWN? YES, but how to issue shutdown ? Ah, OK, this is better. Just type SHUTDOWN and press enter. Tomcat looks for any TCP/IP connection with sending that string. See the Server configuration reference: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/server.html See the await() function here for the source code: http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/catalina/src/share /org/apache/catalina/core/StandardServer.java?rev=1.22content-type=text /vnd.viewcvs-markup Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat 4.1.27: cannot shutdown tomcat !!
shutdown with telnet is ok. It appears the message Stopping service Tomcat-Standalone on the shell but the Window does not close. Should I recompile the entire catalina source code ? Thank you fabio - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:28 PM Subject: RE: (errata corrige) tomcat 4.1.27: cannot shutdown tomcat !! Howdy, Can you telnet to localhost:8005 and issue SHUTDOWN? YES, but how to issue shutdown ? Ah, OK, this is better. Just type SHUTDOWN and press enter. Tomcat looks for any TCP/IP connection with sending that string. See the Server configuration reference: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/server.html See the await() function here for the source code: http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/catalina/src/share /org/apache/catalina/core/StandardServer.java?rev=1.22content-type=text /vnd.viewcvs-markup Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat 4.1.27: cannot shutdown tomcat !!
Howdy, No, you don't need to recompile. My guess is you have non-daemon threads your webapp has started, and that's why the JVM can't exit. This is not a rare problem. You need to make sure any threads you start are either daemons (so the JVM kills them automatically) or are properly interrupted and terminated when your app is shutting down. Yoav Shapira Millennium ChemInformatics -Original Message- From: Fabio Bazzani [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 11:42 AM To: Tomcat Users List Subject: tomcat 4.1.27: cannot shutdown tomcat !! shutdown with telnet is ok. It appears the message Stopping service Tomcat-Standalone on the shell but the Window does not close. Should I recompile the entire catalina source code ? Thank you fabio - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:28 PM Subject: RE: (errata corrige) tomcat 4.1.27: cannot shutdown tomcat !! Howdy, Can you telnet to localhost:8005 and issue SHUTDOWN? YES, but how to issue shutdown ? Ah, OK, this is better. Just type SHUTDOWN and press enter. Tomcat looks for any TCP/IP connection with sending that string. See the Server configuration reference: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/server.html See the await() function here for the source code: http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/catalina/src/shar e /org/apache/catalina/core/StandardServer.java?rev=1.22content-type=tex t /vnd.viewcvs-markup Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat 4.1.27: cannot shutdown tomcat !!
I'm working with JDK 1.4.0 and tomcat 4.1.27. I'm in advanced development and unexpectedly I cannot shutdown Tomcat. I spent all day to try undertand the why ? shell error message: Stopping service Tomcat-Standalone java.net.NoRouteToHostException: No route to host: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:159) 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:146) at org.apache.jk.common.ChannelSocket.destroy(ChannelSocket.java:384) at org.apache.jk.server.JkMain.stop(JkMain.java:311) at org.apache.jk.server.JkCoyoteHandler.destroy(JkCoyoteHandler.java:181) at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1205) at org.apache.catalina.core.StandardService.stop(StandardService.java:546) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225) at org.apache.catalina.startup.Catalina.start(Catalina.java:543) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) 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:203) Does anybody know what happened ? Thank you. Fabio
Re: tomcat 4.1.27: cannot shutdown tomcat !!
connect is not a hostname, looks like there is something wrong with your networking on that machine, not Tomcat Filip - Original Message - From: Fabio Bazzani [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 9:29 AM Subject: tomcat 4.1.27: cannot shutdown tomcat !! I'm working with JDK 1.4.0 and tomcat 4.1.27. I'm in advanced development and unexpectedly I cannot shutdown Tomcat. I spent all day to try undertand the why ? shell error message: Stopping service Tomcat-Standalone java.net.NoRouteToHostException: No route to host: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:159) 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:146) at org.apache.jk.common.ChannelSocket.destroy(ChannelSocket.java:384) at org.apache.jk.server.JkMain.stop(JkMain.java:311) at org.apache.jk.server.JkCoyoteHandler.destroy(JkCoyoteHandler.java:181) at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1205) at org.apache.catalina.core.StandardService.stop(StandardService.java:546) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225) at org.apache.catalina.startup.Catalina.start(Catalina.java:543) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) 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:203) Does anybody know what happened ? Thank you. Fabio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]