This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to stop java process on Linux server ?
 
Similar Threads
JMS application is slow
Fedora 14 - JRE Runtime error
JDK1.5 installation failed on ubuntu linux 11.10 server
Java Runtime Environment (JRE) - JDK 1.5.0_15 unable to determine DST changes
Stopping Web sphere server in RAD