Skip to main content

Monitoring Glassfish Status

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2012-01-30

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?