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 that the
contextDestroyed listener responds and I can get debug info???

John McClain
Senior Software Engineer
TCS Healthcare
[EMAIL PROTECTED]
(530)886-1700x235
Before you criticize someone, walk a mile in their shoes.
That way, you'll be a mile from them, and you'll have their shoes.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2004-10-25 Thread Shapira, Yoav

Hi,
Please don't cross-post to tomcat-dev and tomcat-user at the same time.

Gracefully, probably not.  Kill it.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: John MccLain [mailto:[EMAIL PROTECTED]
Sent: Monday, October 25, 2004 11:38 AM
To: Tomcat Dev List; Tomcat 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
to shutdown Tomcat gracefully under this condition so that the
contextDestroyed listener responds and I can get debug info???

John McClain
Senior Software Engineer
TCS Healthcare
[EMAIL PROTECTED]
(530)886-1700x235
Before you criticize someone, walk a mile in their shoes.
That way, you'll be a mile from them, and you'll have their shoes.


-
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]