File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
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 ?