tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Problem with proper shutdown of tomcat
Date Wed, 28 Jul 2004 12:59:53 GMT
Amen!  The responses on the list so far have made my day! ;)

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: Rodrigo Ruiz []
>Sent: Wednesday, July 28, 2004 6:29 AM
>To: Tomcat Users List
>Subject: Re: Problem with proper shutdown of tomcat
>Maybe you have some non-daemon threads running. This would prevent the
>JVM from exiting. I would do the following:
>- Once the java process is "frozen", ask it a thread stack dump (I do
>not remember well, but I think in Linux you must send the process a
>- In the trace you should see all threads still alive. Check if any of
>them is yours. Such a thread could be the problem source.
>- Sometimes converting the thread in a daemon is enough. Other times
>need to ensure a clean stop, in which case you could implement it
>through a ServletContextListener.
>Rodrigo Ruiz
>dejw wrote:
>> Hi,
>> I have tomcat 4.1.30 installed on linux red hat 9 with java version
>> 1.4.1_03. Sometimes when I shutdown tomcat by using shutdown script
>> remains java process in memory which I have to kill manually. Only
>> then I can start up tomcat again. What can be the reason of this? I'm
>> using GridSphere portal framework with gridportlets whithin the
>> tomcat, maybe some bad written portlets or servlets are able to
>> java process of tomcat?
>> Dawid Szejnfeld, PSNC
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (
>Version: 6.0.727 / Virus Database: 482 - Release Date: 27/07/2004
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message