wood burning stoves*
The moose likes Java in General and the fly likes Best way to monitor a running java executable in a prod 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 "Best way to monitor a running java executable in a prod server" Watch "Best way to monitor a running java executable in a prod server" New topic
Author

Best way to monitor a running java executable in a prod server

Andres Delrotti
Ranch Hand

Joined: Aug 11, 2005
Posts: 138

hello,

We need to inform the operations department (via email ) when something happens to this process continuously running in a server. This process that is running is a java executable that does quite a lot of tasks.

My question is, whats the best way to do this? it would be kinda redundant creating another java executable running just to monitor if that particular executable is running. If thats the case, there would be a never ending case of
who will monitor this executable that monitors that executable that monitors this executable and so on......

This is in Windows server 2008 by the way.

Any advice would be appreciated. thanks a lot.


regards,
Andres
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42374
    
  64
A service like Java-monitor.com can help with that, depending on how deep the monitoring should go. There's a wide range of tools and services you could use, depending on your exact requirements.


Ping & DNS - my free Android networking tools app
Andres Delrotti
Ranch Hand

Joined: Aug 11, 2005
Posts: 138
@ulf: we only need to email certain people if the executable stops running for some reason, thats all the requirement.

Thanks for the reco. Will check java-monitor.com.

Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3071
    
  33

You can even checkout New Relic


Mohamed Sanaulla | My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Best way to monitor a running java executable in a prod server