users@glassfish.java.net

asadmin command to check if a domain is running

From: vince kraemer <vince.kraemer_at_Sun.COM>
Date: Fri, 28 Oct 2005 11:51:41 -0700

Which asadmin command is used to test whether a domain is running?

I want to write a script that needs to test if the server is running...

Using start-domain triggers an error message when the server is running,
but it also produces an error message if the server is unstartable....

I sure hope I don't have to parse the output of start-domain...

Thanks,
vbk