tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jignesh Patel <jpa...@bangtechnology.com>
Subject RE: Problem with proper shutdown of tomcat
Date Wed, 28 Jul 2004 22:37:40 GMT
Yes there is a problem with shutdown.
In linux you can use command killall -9 java to stop deamon java thread.

-Jignesh


On Wed, 2004-07-28 at 08:59, Shapira, Yoav wrote:
> Hi,
> Amen!  The responses on the list so far have made my day! ;)
> 
> Yoav Shapira
> Millennium Research Informatics
> 
> 
> >-----Original Message-----
> >From: Rodrigo Ruiz [mailto:rruiz@gridsystems.com]
> >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
> QUIT
> >signal)
> >- 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
> you
> >need to ensure a clean stop, in which case you could implement it
> >through a ServletContextListener.
> >
> >HTH,
> >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
> it
> >> 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
> freeze
> >> java process of tomcat?
> >>
> >> Dawid Szejnfeld, PSNC
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >>
> >>
> >
> >
> >--
> >Outgoing mail is certified Virus Free.
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.727 / Virus Database: 482 - Release Date: 27/07/2004
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message