admin@glassfish.java.net

How to determine if appserver is running

From: Stephen DiMilla <Stephen.Dimilla_at_Sun.COM>
Date: Wed, 21 Nov 2007 20:08:13 -0500

Folks
I'm looking for a way from the command line to determine if the appserver
is up and running besides issuing some random asadmin command and seeing
if it errors out or not. I'm currently using ant's exec task to execute
various
commands to the appserver and it would be nice to be able to determine
appserver
status.

Any suggestions would be helpful

Thanks
steved