How to shutdown Tomcat gracefully when hung???

2004-10-25 Thread John MccLain
I have run into a problem where Tomcat is hanging inside ofg JNI code. This causes the allocated thread to stay allocated. When I go to shutdown Tomcat, it responds with 'Waiting for 1 instance(s) to be deallocated'. Is there a way to shutdown Tomcat gracefully under this condition so

RE: How to shutdown Tomcat gracefully when hung???

2004-10-25 Thread Shapira, Yoav
user list Subject: How to shutdown Tomcat gracefully when hung??? I have run into a problem where Tomcat is hanging inside ofg JNI code. This causes the allocated thread to stay allocated. When I go to shutdown Tomcat, it responds with 'Waiting for 1 instance(s) to be deallocated'. Is there a way

RE: shutdown tomcat in command line error

2004-09-10 Thread Shapira, Yoav
-Original Message- From: Hongsong Zhou [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 5:29 PM To: [EMAIL PROTECTED] Subject: shutdown tomcat in command line error Tomcat 5.5.1 in windows 2003 server I copy tomcat/conf to another folder, modified server.xml, copy startup.bat

shutdown tomcat in command line error

2004-09-09 Thread Hongsong Zhou
Tomcat 5.5.1 in windows 2003 server I copy tomcat/conf to another folder, modified server.xml, copy startup.bat and shutdown.bat from tomcat/bin, setup CATALINA_BASE in new startup.bat and shutdown.bat, startup.bat works fine, when I try to run shutdown.bat, I got an error: Sep 9, 2004 4:21:54 PM

can not shutdown tomcat from shutdown.sh (V4.06)

2004-03-12 Thread Kevin Li
Hi guys: I am using tomcat 4.06 /AIX, after added some servlet in the web.xml , I can not shutdown the tomcat by using shutdown.sh command. the process still runing in the Unix. and I have to use kill -9 to stop the tomcat process. the servlet I added is very simple , it initialize my jdbc

RE: can not shutdown tomcat from shutdown.sh (V4.06)

2004-03-12 Thread Shapira, Yoav
Hi, I am using tomcat 4.06 /AIX, after added some servlet in the web.xml , I can not shutdown the tomcat by using shutdown.sh command. the process still runing in the Unix. and I have to use kill -9 to stop the tomcat process. the servlet I added is very simple , it initialize my jdbc

Cannot shutdown Tomcat gracefully

2003-09-05 Thread Krause Karin
Hello, I saw that bug in the bug database http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20663 I also receive this exception with Tomcat 4.1.27 and Solaris. I'm just wondering why this bug has the Severity Blocker. Can someone tell me about the consequences of this bug? Are there any severe

RE: Cannot shutdown Tomcat gracefully

2003-09-05 Thread Shapira, Yoav
ChemInformatics -Original Message- From: Krause Karin [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 4:54 AM To: '[EMAIL PROTECTED]' Subject: Cannot shutdown Tomcat gracefully Hello, I saw that bug in the bug database http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20663 I also

RE: tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-04 Thread Shapira, Yoav
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

tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-04 Thread Fabio Bazzani
- 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

(errata corrige) tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-04 Thread Fabio Bazzani
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

RE: tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-04 Thread Shapira, Yoav
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 ;)

RE: (errata corrige) tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-04 Thread Shapira, Yoav
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:

tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-04 Thread Fabio Bazzani
[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

RE: tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-04 Thread Shapira, Yoav
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

tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-03 Thread Fabio Bazzani
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

Re: tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-03 Thread Filip Hanik
: 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

Re: shutdown tomcat

2003-08-20 Thread Maksimenko Alexander
I've added a listener instance and notifications start working! Thank you for the answer! - Original Message - From: Jon Wingfield [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 7:31 PM Subject: Re: shutdown tomcat So you added an instance

shutdown tomcat

2003-08-19 Thread Maksimenko Alexander
Hi! I created the following implementation of HttpSessionListener,HttpSessionActivationListener. public class TestTomcatNotifications implements HttpSessionListener, HttpSessionActivationListener { public void sessionCreated(HttpSessionEvent se) {

Re: shutdown tomcat

2003-08-19 Thread Jon Wingfield
So you added an instance of TestTomcatNotifications to a session as an attribute? That's the only way you'll get HttpSessionActivationListener events. You added a listener element to your web.xml registering TestTomcatNotifications as a HttpSessionListener? On shutdown sessionDestroyed(...)

RE: shutdown tomcat

2003-08-19 Thread Shapira, Yoav
Howdy, public class TestTomcatNotifications implements HttpSessionListener, Something like SessionListener01/SessionListener02/SessionListener03 from http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/tester/src/tester/ org/apache/tester/ would have saved you time ;) down tomcat neither

Again... cannot completely shutdown tomcat with embeded RMIRegistery

2003-07-23 Thread mourad jaber
Hi, I have a shutdown pb with tomcat4.1.24rpm ( linux kernel 2.4.21 and j2se1.4.2 ) since I'm using rmiregistery... To force RmiRegistery to unload, I implement a loop to empty completely the registery by unbinding bound objects and I try to unexport all objects I can I read the content of

Re: Cannot shutdown Tomcat with GLIBC in unstable

2002-12-04 Thread Rasputin
* Charles Baker [EMAIL PROTECTED] [1202 15:02]: I just tried to shutdown Tomcat 4.1.12-2 using Sun JDK 1.3.1_03 on my box running unstable. I got the following undefined symbol message and Tomcat does not shutdown. Does anyone have a suggestion for what I should do other than kill the Tomcat

Cannot shutdown Tomcat with GLIBC in unstable

2002-12-04 Thread Charles Baker
I just tried to shutdown Tomcat 4.1.12-2 using Sun JDK 1.3.1_03 on my box running unstable. I got the following undefined symbol message and Tomcat does not shutdown. Does anyone have a suggestion for what I should do other than kill the Tomcat pids? I wonder if I do that will Tomcat be able

Cannot shutdown tomcat

2002-09-21 Thread Marc Vila Pérez
Hi! I'm using tomcat 4.1.10, on Linux Red Hat. I set the environment vars (JAVA_HOME and CATALINA_HOME), when I start tomcat (startup.sh), seems all run ok, but when I try to shutdown it, ... the shell does not respond: [tomcat@telemako bin]$ ./shutdown.sh Using CATALINA_BASE:

Re: startup/shutdown Tomcat on Linux

2002-08-26 Thread Yousef Shemisa
/ - Original Message - From: neal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, August 25, 2002 10:04 PM Subject: startup/shutdown Tomcat on Linux How do you start and shutdown Tomcat on Linux? I'm (obvioulsy) a windows person. I am attempting to get my app running

RE: startup/shutdown Tomcat on Linux

2002-08-26 Thread Chris Campbell
or if it is an option you might want to install the 4.0.4 rpm, it seems to install the rc.d scripts for you automatically Just use the .sh counterparts to the .bat files you used on Windows. If you want Tomcat to start when the system comes up (or, to use some jargon, enters the proper

RE: startup/shutdown Tomcat on Linux

2002-08-26 Thread Chris Campbell
/java -classpath /usr/local/tomcat/bin/bootstrap.jar:/usr/java/j2sdk1.4.0/lib. etc then tomcat is running. -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 2:59 PM To: Tomcat Users List Subject: RE: startup/shutdown Tomcat on Linux Thanks

Re: startup/shutdown Tomcat on Linux

2002-08-26 Thread micael
sh startup.sh sh is the shell. At 10:04 PM 8/25/2002 -0700, you wrote: How do you start and shutdown Tomcat on Linux? I'm (obvioulsy) a windows person. I am attempting to get my app running on Linux. From the /bin directory I attempted to call shutdown.bat. This didn't work so I restarted

startup/shutdown Tomcat on Linux

2002-08-25 Thread neal
How do you start and shutdown Tomcat on Linux? I'm (obvioulsy) a windows person. I am attempting to get my app running on Linux. From the /bin directory I attempted to call shutdown.bat. This didn't work so I restarted the server (shutdown -r now). When the server came back, Tomcat

Re: startup/shutdown Tomcat on Linux

2002-08-25 Thread Randall R Schulz
you've told us (i.e., simply that you're using Linux). Good luck. Randall Schulz Mountain View, CA USA At 22:04 2002-08-25, neal wrote: How do you start and shutdown Tomcat on Linux? I'm (obvioulsy) a windows person. I am attempting to get my app running on Linux. From the /bin directory I

RE: startup/shutdown Tomcat on Linux

2002-08-25 Thread neal
]] Sent: Sunday, August 25, 2002 10:21 PM To: [EMAIL PROTECTED] Subject: Re: startup/shutdown Tomcat on Linux Neal, Just use the .sh counterparts to the .bat files you used on Windows. If you want Tomcat to start when the system comes up (or, to use some jargon, enters the proper run level) you

Re: Shutdown Tomcat

2001-11-01 Thread Yoav Shapira
'gracefully' You then have to manually kill the process? I am not sure if this is a problem with tomcat or it is supposed to be that way. It seems to be the same effect when you use the manager application to shutdown tomcat so I am guessing that it was designed to work that way. I

Re: Shutdown Tomcat

2001-10-31 Thread Steve Brunton
the process? I am not sure if this is a problem with tomcat or it is supposed to be that way. It seems to be the same effect when you use the manager application to shutdown tomcat so I am guessing that it was designed to work that way. I have been unable to find any doco on the subject. Does

RE: Shutdown Tomcat

2001-10-31 Thread Craig R. McClanahan
: RE: Shutdown Tomcat Yeah, I have been wondering the same thing. On unix is seems that you have to kill the process. Shutdown.bat and shutdown.sh do not seem to stop the Tomcat process. I am guessing they just log off all of the sessions 'gracefully' You then have to manually kill the process

RE: Shutdown Tomcat

2001-10-31 Thread Mangi, Rick
. On windows it takes about 5 seconds. -Original Message- From: Steve Brunton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 1:29 PM To: Tomcat Users List Subject: Re: Shutdown Tomcat Evan Swanson wrote: Yeah, I have been wondering the same thing. On unix is seems that you have

Re: Shutdown Tomcat

2001-10-31 Thread Martin Mauri
. On windows it takes about 5 seconds. -Original Message- From: Steve Brunton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 1:29 PM To: Tomcat Users List Subject: Re: Shutdown Tomcat Evan Swanson wrote: Yeah, I have been wondering the same thing. On unix

RE: Shutdown Tomcat

2001-10-31 Thread Mangi, Rick
Mauri [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 1:47 PM To: Tomcat Users List Subject: Re: Shutdown Tomcat Hi, I'm facing the same problem with Tomcat 3.2.1 When I call tomcat.sh stop it shows the PATH used for the classes and then it says Stop Tomcat. But when I try

Re: Shutdown Tomcat

2001-10-31 Thread Martin Mauri
can restart. It won't restart 'cuz it hasn't shut down yet... hence, the port is still bound. -Original Message- From: Martin Mauri [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 1:47 PM To: Tomcat Users List Subject: Re: Shutdown Tomcat Hi, I'm facing the same

Re: Re[2]: IP binding for server shutdown (tomcat 4)

2001-09-09 Thread Pier Fumagalli
Jochen Schwoerer [EMAIL PROTECTED] wrote: It currently is hard coded to bind to 127.0.0.1, so it would take a code change to make this possible. will it be possible to configure it via server.xml in the final version? I believe it would be a security risk, people can DOS you on that port,

Re: Re[2]: IP binding for server shutdown (tomcat 4)

2001-09-09 Thread Pier Fumagalli
Jochen Schwoerer [EMAIL PROTECTED] wrote: Hello Pier, Saturday, September 08, 2001, 8:20:30 PM, you wrote: PF Jochen Schwoerer [EMAIL PROTECTED] wrote: hello all, does somebody know if it is possible to bind the shutdown listener of tomcat 4 on a specific ip address like it is

IP binding for server shutdown (tomcat 4)

2001-09-08 Thread Jochen Schwoerer
hello all, does somebody know if it is possible to bind the shutdown listener of tomcat 4 on a specific ip address like it is possible for connectors? thanks in advance jochen schwoerer [EMAIL PROTECTED]

Re: IP binding for server shutdown (tomcat 4)

2001-09-08 Thread Pier Fumagalli
Jochen Schwoerer [EMAIL PROTECTED] wrote: hello all, does somebody know if it is possible to bind the shutdown listener of tomcat 4 on a specific ip address like it is possible for connectors? I believe that for security reasons, in the upcoming version, the binding will be allowed and

Re[2]: IP binding for server shutdown (tomcat 4)

2001-09-08 Thread Jochen Schwoerer
] Subject: IP binding for server shutdown (tomcat 4) hello all, does somebody know if it is possible to bind the shutdown listener of tomcat 4 on a specific ip address like it is possible for connectors? CRM It currently is hard coded to bind to 127.0.0.1, so it would take a code CRM change to make

Re: Re[2]: IP binding for server shutdown (tomcat 4)

2001-09-08 Thread Jonathan Eric Miller
line in server.xml. Server port=8005 shutdown=SHUTDOWN debug=0 Jon - Original Message - From: Jochen Schwoerer [EMAIL PROTECTED] To: Pier Fumagalli [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, September 08, 2001 1:27 PM Subject: Re[2]: IP binding for server shutdown (tomcat 4

Re[4]: IP binding for server shutdown (tomcat 4)

2001-09-08 Thread Jochen Schwoerer
] JEM To: Pier Fumagalli [EMAIL PROTECTED] JEM Cc: [EMAIL PROTECTED] JEM Sent: Saturday, September 08, 2001 1:27 PM JEM Subject: Re[2]: IP binding for server shutdown (tomcat 4) Hello Pier, Saturday, September 08, 2001, 8:20:30 PM, you wrote: PF Jochen Schwoerer [EMAIL PROTECTED] wrote

Error when shutdown tomcat

2001-03-16 Thread Tang, Jinan
Hi, When I run the shutdown.bat I got the following errors: ... Is the error comes from the configuration or a bug in the tomcat? Thanks. J. Tang

Re: I can shutdown Tomcat

2000-11-07 Thread Duane Gran
Mauricio, If you are running Unix you can do it the dirty way by killing the process. I have found that Tomcat has some problems shutting down if the AJp connector is not enabled. Duane On Tue, 7 Nov 2000, [iso-8859-1] Mauricio Nuñez wrote: Thanks for your attention: I can't shutdown one of

Re: I can shutdown Tomcat

2000-11-07 Thread Steve Ruby
Mauricio Nuñez wrote: Thanks for your attention: I can't shutdown one of my sites, running Tomcat. I can shutdown others 3 sites, but this not. What alternative i have? Any comment,tip, tool is wellcome. thanks in advance Mauricio Nuñez the shutdown uses the port indicated in the