kill -SIGHUP or kill -3 should dump a stack trace into catalina.out.

A profiler should also tell you what the threads are up to.

Ta
Matt

-----Original Message-----
From: Steffen Heil [mailto:[EMAIL PROTECTED]
Sent: 15 November 2004 13:42
To: 'Tomcat Users List'
Subject: Analysing dead threads


Hi

I have a situation, where a lot of threads seem to stop working right in
my
servlet.
>From debug output, I know they entered the servlet but never leave it.

My problem is that this never occurs on our development system, but only
on
the production system.
I need to stop tomcat end even do a "killall -9 java" to get everything
to
stop. Then I restart tomcat.

But I don't know what happened.
I know there is a way to kill the JVM, so that I see the stack trace of
kill
threads.
How can I do it?
(Is there another way to see what those threads are waiting for?)

Regards,
  Steffen
Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not 
the intended recipient or the person responsible for delivering to the intended 
recipient, be advised that you have received this E-mail in error and that any 
use or copying is strictly prohibited. If you have received this E-mail in 
error please notify the beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual 
sender and not beCogent Ltd. You must take full responsibility for virus 
checking this email and any attachments.
Please note that the content of this email or any of its attachments may 
contain data that falls within the scope of the Data Protection Acts and that 
you must ensure that any handling or processing of such data by you is fully 
compliant with the terms and provisions of the Data Protection Act 1984 and 
1998.


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

Reply via email to