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
.



Relevant Pages

  • Re: Best way to halt Java process?
    ... "process" is a webapp in a servlet container, ... JVM is reasonable. ... install security managers, and System.exitwill wind up throwing ...
    (comp.lang.java.programmer)
  • Querying the Servlet/JSP Engine
    ... How could you query the Servlet Container and/or ServletContext for ... a webapp and to which URL's are they mapped? ...
    (comp.lang.java.programmer)