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]



Reply via email to