This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to stop java process on Linux server ?

 
varun reddy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
System.exit()

You're welcome
 
varun reddy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic