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
>