tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <>
Subject Re: [PROPOSAL] Configure Tomcat service to be terminated by java.lang.System.exit() call
Date Tue, 01 Feb 2011 20:52:58 GMT
On 02/01/2011 08:07 PM, Konstantin Kolinko wrote:
> Hi, all!
> Other option could be to leave it as is, at least for several months,
> and leave it to up to the users to reconfigure the service. -- until
> we know more about the issue. Maybe this can be solved inside procrun
> somehow.

Using System.exit is a wrong approach thought.
Tomcat should be capable of clean start/stop.
System.exit does what stop should be doing (waiting on
complete shutdown) but also calls real OS exit()
terminating the process.

How it behaves if embedded? Will it kill the host?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message