This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java in General and the fly likes System.exit(1) not killing java process on solaris Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "System.exit(1) not killing java process on solaris" Watch "System.exit(1) not killing java process on solaris" New topic
Author

System.exit(1) not killing java process on solaris

Gaurav Bhatia
Ranch Hand

Joined: Jan 01, 2007
Posts: 49
I have a Java process running and exchanging messages over ems to other components and exposing RMI services.
On an exception from ems server (i.e. when EMS connection is lost), i call System.exit(1).

There is a shutdown hook that gets called, this closes the ems connections.
After this the process keeps on running and doesn't die.

Any thoughts what could be stopping it from getting crashed?

Thanks,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: System.exit(1) not killing java process on solaris