Re: Best way to halt Java process?



On Jun 10, 9:06 am, Alessio Stalla <alessiosta...@xxxxxxxxx> wrote:

Just keep in mind that System.exit kills the entire JVM, so if your
"process" is a webapp in a servlet container, you'll kill all the
other webapps and the container, too.


That's what I understood, but thanks for the reminder. For the
purposes of this process/application, failing to a safe-mode (in this
case where no further processing is allowed) is best, so halting the
JVM is reasonable.

Todd
.