dev@glassfish.java.net

Re: This seems like a bug

From: Vijay Ramachandran <vijay.ramachandran_at_oracle.com>
Date: Thu, 03 Jun 2010 20:16:51 -0700

Yikes - the error value set is wrong.

Vince - can you please file a bug ?

Thanks

Vijay

On 6/3/10 5:35 PM, Hong Zhang wrote:
> Hi, Vince
> From my previous conversations with Vijay on the target validation,
> he plans to add logic in the command framework to validate the target
> (existed and valid) for all the commands which take a target option.
> And then individual command only needs to do any additional validation
> that's specific to the command if needed.
>
> Thanks,
>
> - Hong
>
> On 6/3/2010 7:14 PM, Vince Kraemer wrote:
>> I have promoted build 2 of GlassFish Server 3.1 running.
>>
>> It is 'just a DAS'... there are no instances, clusters, etc...
>>
>> I do this...
>>
>> bash-3.2$
>> /export/home/vkraemer/GlassFish_Server_3.1/glassfish/bin/asadmin
>> list-applications
>> WebApplication46:1 <web>
>>
>> Command list-applications executed successfully.
>> bash-3.2$
>> /export/home/vkraemer/GlassFish_Server_3.1/glassfish/bin/asadmin
>> disable --target foobar WebApplication46:1
>>
>> Command disable executed successfully.
>>
>>
>> I would have expected the disable command to say that it failed... I
>> would really like to have the command fail and provide a list of
>> VALID values that I could use with the --target option.
>>
>> Oh... WebApplication46:1 was still active, too... so there was a
>> whole lot of fail down this path at the moment.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>