users@glassfish.java.net

Re: asadmin command to check if a domain is running

From: Jane Young-Lau <jane.young_at_Sun.COM>
Date: Fri, 28 Oct 2005 12:15:14 -0700

list-domains command will display that the domain is running or not

vince kraemer wrote:

> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>