I agree. See also
https://glassfish.dev.java.net/issues/show_bug.cgi?id=8387
Tom Mueller wrote on 10/ 4/10 12:17 PM:
> stop-domain on a stopped domain is a success.
>
> stop-cluster on a cluster that is stopped is a failure. (probably because
> stop-instance failed).
>
> BTW, stop-instance is outputting a message key (stop.instance.notRunning).
>
> IMHO, stopping something that is already stopped should print a warning and exit
> successfully.
>
> Tom
>
> On 10/4/2010 1:59 PM, Carla Mott wrote:
>>
>> If I try to stop an instance that is already stopped is that a success or
>> failure. stop-instance and stop-local-instance diff on this. I think it is a
>> failure if you try to stop an instance if it is already stopped but wanted to
>> verify.
>>
>> Thanks,
>> Carla
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>