To the best of my knowlege, System.exit() is never called from within tomcat. Tomcat closes it's own daemon threads and then exits normally like any other java program. If a third party package starts it's own thread, that package is responsible for cleaning up what it starts. Tomcat won't exit until the threads are properly cleaned up.

--David

Tomas Hulek wrote:

AFAIK Tomcat does not call System.exit() - at least did not in version
4.1.*, when we solved the very same problem.

T.



Christopher Schultz <[EMAIL PROTECTED] To rschultz.net> Tomcat Users List <users@tomcat.apache.org> 18.10.2006 14:36 cc Subject Please respond to Re: After stopping tomcat, the "Tomcat Users tomcat process still appears to be List" running <[EMAIL PROTECTED] che.org>



Tomas,

At JVM shutdown, the JVM is terminated only if all remaining running
threads are daemon threads.

Not true. System.exit() kills the VM regardless of the presence of
non-daemon threads.

-chris


(See attached file: signature.asc)
------------------------------------------------------------------------

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



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

Reply via email to