tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jørgen Nørgaard <...@anneli.dk>
Subject Re: After stopping tomcat, the tomcat process still appears to be running
Date Wed, 18 Oct 2006 08:02:15 GMT
Hello,


If your servlet(s) start new threads that run independently of request
this may happen.

Could this be the case?

On Wed, October 18, 2006 01:42, Elaine TING wrote:
> Hi,
>
> This is what I have done:
>
> 1) use shutdown.sh to shut down tomcat
> 2) Now the website appears to be down
> 3) Use ps -ef | grep tomcat to check the processes, tomcat still appears
> to be running:
>> ps -ef | grep tomcat
> root     21892     1  1 14:30 pts/21   00:00:17 /local/Java/bin/java
> -Djava.endorsed.dirs=/opt/jakarta-tomcat/common/endorsed -classpath
> /local/Java/lib/tools.jar:/opt/jakarta-tomcat/bin/bootstrap.jar:/opt/jak
> arta-tomcat/bin/commons-logging-api.jar
> -Dcatalina.base=/opt/jakarta-tomcat -Dcatalina.home=/opt/jakarta-tomcat
> -Djava.io.tmpdir=/opt/jakarta-tomcat/temp
> org.apache.catalina.startup.Bootstrap start
> 4) use startup.sh to start tomcat
> 5) website appears to be up and running again
> 6) check the processes, now there are 2 tomcats running:
>
>> ps -ef | grep tomcat
> root     21892     1  1 14:30 pts/21   00:00:17 /local/Java/bin/java
> -Djava.endorsed.dirs=/opt/jakarta-tomcat/common/endorsed -classpath
> /local/Java/lib/tools.jar:/opt/jakarta-tomcat/bin/bootstrap.jar:/opt/jak
> arta-tomcat/bin/commons-logging-api.jar
> -Dcatalina.base=/opt/jakarta-tomcat -Dcatalina.home=/opt/jakarta-tomcat
> -Djava.io.tmpdir=/opt/jakarta-tomcat/temp
> org.apache.catalina.startup.Bootstrap start
> root     22108     1  1 14:33 pts/21   00:00:19 /local/Java/bin/java
> -Djava.endorsed.dirs=/opt/jakarta-tomcat/common/endorsed -classpath
> /local/Java/lib/tools.jar:/opt/jakarta-tomcat/bin/bootstrap.jar:/opt/jak
> arta-tomcat/bin/commons-logging-api.jar
> -Dcatalina.base=/opt/jakarta-tomcat -Dcatalina.home=/opt/jakarta-tomcat
> -Djava.io.tmpdir=/opt/jakarta-tomcat/temp
> org.apache.catalina.startup.Bootstrap start
> ops      22427 10618  0 14:52 pts/21   00:00:00 grep tomcat
>
> Why was shutdown.sh unable to kill the tomcat process? I'm running
> Tomcat 5.0.28 on SUSE LINUX Enterprise Server 9. Java version: 1.5.0_03.
>
> Thank you in advance,
> Elaine
>
>


-- 
/jørgen nørgaard
e-mail: jnp@anneli.dk | Phone: +45 2627 3769
http://anneli.dk/~jnp/
                                         |\      _,,,---,,_
                                         /,`.-'`'    -.  ;-;;,_
                                         |,4-  ) )-,_. ,\ (  `'-'
                                        '---''(_/--'  `-'\_)



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message