aspose file tools
The moose likes Java in General and the fly likes How to stop java process on Linux server ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How to stop java process on Linux server ?" Watch "How to stop java process on Linux server ?" New topic
Author

How to stop java process on Linux server ?

varun reddy
Greenhorn

Joined: Dec 03, 2007
Posts: 2
We are using x86_64 x86_64 x86_64 GNU/Linux Linux server and it's clusterd environment. Could you please help me, how can we stop the java process on clustered servers?

Thanks in advance.

David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

System.exit()

You're welcome
varun reddy
Greenhorn

Joined: Dec 03, 2007
Posts: 2
Thanks for your response...

But my problem is to kill the java process on Linux server at clustered environment. I have tryed with kill -3, -15, -9. These kill commands can use on normal Linux server. But i need to kill the java process at clustered environment
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

previously we had an application that already had JMS hooked in, so we added the ability to send a shutdown message that all servers would receive.

Better solution? (sorry about the previous one, your requirements were a bit vague)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to stop java process on Linux server ?
 
Similar Threads
Fedora 14 - JRE Runtime error
Java Runtime Environment (JRE) - JDK 1.5.0_15 unable to determine DST changes
JDK1.5 installation failed on ubuntu linux 11.10 server
Stopping Web sphere server in RAD
JMS application is slow