Hi Victor, Which JVM are you using?
Assuming Sun's , try checking if you have started your JVM with the option "-Xrs", which reduces use of operating-system signals by the Java virtual machine. If yes, this will prevent a thread dump from occurring when the JVM receives a SIGQUIT. Regards, Morgan > -----Original Message----- > From: Skladovs, Victor [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 28, 2003 18:02 > To: Tomcat Users List > Subject: AW: Can't stop Tomcat-5.0.5 with Cocoon-2.1 on Linux > > > Why nothing happens when I try to generate thread dump on Linux? > > My steps: > > 1)determine the java PID with pstree -p command: > > -java(3855)---java(3856)-+-java(3857) > |-java(3858) > |-java(3859) > |-java(3860) > |-java(3861) > |-java(3862) > `-java(3863) > > 2) then kill -QUIT 3855 > > NOTHING. > > What do I do wrong? > > Thanks, > Viktor > > -----Ursprüngliche Nachricht----- > Von: Skladovs, Victor > Gesendet: Donnerstag, 28. August 2003 16:29 > An: Tomcat Users List > Betreff: AW: Can't stop Tomcat-5.0.5 with Cocoon-2.1 on Linux > > > I stop Tomcat with a command: > > $TOMCAT_HOME/bin> ./shutdown.sh > > Haven't managed to create a thread dump ... > > Viktor > > -----Ursprüngliche Nachricht----- > Von: Jean-Francois Arcand [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 28. August 2003 15:50 > An: Tomcat Users List > Betreff: Re: Can't stop Tomcat-5.0.5 with Cocoon-2.1 on Linux > > > My first guess is that Cocoon have a thread that doesn't die when you > stop the application (they probably have a shutdown listener). How do > you stop Tomcat? > Can you also add a thread dump (CTRL-\) to this mail (do that before > stopping and then after if the console is still up) > > -- Jeanfrancois > > Skladovs, Victor wrote: > > >Hi to all! > > > >I can't stop tomcat-5.0.5 on Linux with the latest cocoon - > 2.1. (with > >JDK 1.4.1_02) > > > >Although catalina.out seems to be allright: > > > >28.08.2003 15:21:53 org.apache.catalina.core.StandardService stop > >INFO: Stopping service Catalina > >28.08.2003 15:21:53 org.apache.coyote.http11.Http11Protocol destroy > >INFO: Stoping http11 protocol on 8091 > >Catalina:type=ThreadPool,name=http8091 > >28.08.2003 15:21:53 org.apache.catalina.core.StandardHostDeployer > remove > >INFO: Removing web application at context path /admin 28.08.2003 > >15:21:53 org.apache.catalina.logger.LoggerBase stop > >INFO: unregistering logger > >Catalina:type=Logger,path=/admin,host=localhost > >28.08.2003 15:21:53 org.apache.catalina.core.StandardHostDeployer > remove > >INFO: Removing web application at context path /servlets-examples > >28.08.2003 15:21:53 org.apache.catalina.core.StandardHostDeployer > remove > >INFO: Removing web application at context path /jsp-examples > 28.08.2003 > >15:21:53 org.apache.catalina.core.StandardHostDeployer > remove > >INFO: Removing web application at context path /cocoon > >Thu Aug 28 15:21:54 CEST 2003 SHUTDOWN : System.exit() was > not called > >28.08.2003 15:21:54 org.apache.catalina.core.StandardHostDeployer > remove > >INFO: Removing web application at context path /tomcat-docs > 28.08.2003 > >15:21:54 org.apache.catalina.core.StandardHostDeployer > remove > >INFO: Removing web application at context path /iceproject > 28.08.2003 > >15:21:54 org.apache.catalina.core.StandardHostDeployer > remove > >INFO: Removing web application at context path > >28.08.2003 15:21:54 org.apache.catalina.core.StandardHostDeployer > remove > >INFO: Removing web application at context path /manager 28.08.2003 > >15:21:54 org.apache.catalina.logger.LoggerBase stop > >INFO: unregistering logger Catalina:type=Logger,host=localhost > >28.08.2003 15:21:54 org.apache.catalina.logger.LoggerBase stop > >INFO: unregistering logger Catalina:type=Logger > > > >a "java process" is being always shown: > > > >myserver:/usr/local/tomcat-5.0.5/bin # ps -aux|grep java > > > >root 15859 0.0 17.8 248400 45592 pts/2 S 15:20 0:00 > >/usr/local/j2sdk1 > >.4.2_01/bin/java -Djava.awt.headless=true > >-Djava.endorsed.dirs=/usr/local/tomcat > >-5.0.5/common/endorsed -classpath > >/usr/local/j2sdk1.4.2_01/lib/tools.jar:/usr/lo > >cal/tomcat-5.0.5/bin/bootstrap.jar:/usr/local/Apache2/htdocs/ > ice/icewww > / > >classes/ > >ice -Dcatalina.base=/usr/local/tomcat-5.0.5 > >-Dcatalina.home=/usr/local/tomcat-5. > >0.5 -Djava.io.tmpdir=/usr/local/tomcat-5.0.5/temp > >org.apache.catalina.startup.Bo > >otstrap start > > > >I must use "kill" command to stop process. > >BUT IT WORKS WITHOUT COCOON! > > > >Has anybody already faced this problem? Any ideas? > > > >Thanx, > >Viktor > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]