admin@glassfish.java.net

Re: what should the status of command be?

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Mon, 04 Oct 2010 23:13:12 -0700

On 10/4/2010 12:17 PM, Tom Mueller wrote:
> 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.
+1
>
> 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
>

-- 
Byron Nevins  -  Oracle Corporation
Home: 650-359-1290
Cell: 650-784-4123
Sierra: 209-295-2188