A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
EJB and other Java EE Technologies
Observer for JVM
Joined: Aug 09, 2002
Sep 09, 2006 11:09:00
environment, is it possible for us to create something
like an observer for the JVM process?
What I intend to do is to send out some notifications if the JVM would ever
crash, especially in the production environment.
Currently, what I have in mind is just a
process which would check
the existance of the JVM process on a scheduled intervals.
Is there a better way to do so?
Thanks in advance.
author & internet detective
Joined: May 26, 2003
Sep 09, 2006 17:20:00
Take a look at JMX (Java Management Extensions.) It is designed for monitoring.
You could probably get away with a cron job. I don't know enough about JMX to know the advantages.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: Observer for JVM
Confused with MVC
Refresh the view
HashMap - in-memory caching - multi-threaded environment ?
Stopping and Restarting the jvm
How to keep clients up-to-date?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014