Hi,
So tomcat4.0.2 remove the System.exit(0) call at the end of the
Bootstrap class, and there are good reasons to not have it there
(for embedded invocations of tomcat, etc.).  I'm also aware
of the possible harm of System.exit(0) and the use of SecurityManager
to prevent that.

Here's my situation, though: I use 3rd party code that I trust but
cannot modify, and I think this code creates threads and does not
interrupt/kill them appropriately.  Therefore, when I shutdown 
tomcat, the tomcat process never dies.  It stays resident in memory
etc.  This is not acceptable for us, so we can't use tomcat4.0.2.

I know relying on System.exit(0) is not a good idea.  Does anyone
have other ideas, suggestions, etc on this issue?  All appreciated,
and thanks in advance,

Yoav

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to