Skip to main content

Monitoring Glassfish Status

No replies
shralpfx
Offline
Joined: 2012-01-30
Points: 0

From an external standalone Java client I need to determine if a remote (or local) instance of Glassfish is running (i.e. the domain was started). Right now I repeatedly create a JMX connection. If the connection is successful Glassfish is running, otherwise it's not. Is this the best approach or is there a better way?