admin@glassfish.java.net

Re: list-admin-objects returns 'Nothing to list.'

From: Jennifer Chou <Jennifer.Chou_at_Sun.COM>
Date: Wed, 15 Apr 2009 14:28:35 -0400

Hi Nitya,

I see. The server-side command will not know which client is calling
it. For now, we could just return an empty list.
So Netbeans was doing something different for v2 - so it wasn't an issue
then?

Including admin alias for feedback.

You can file a bug for this.

Thanks,
Jennife

Nitya Doraisamy wrote:
> Jennifer
> For a client like NetBeans, this would be a bug. Checking the
> localized string may cause errors because comparing the strings may
> not work as expected in all locales. Netbeans accesses the server side
> command directly through HTTP interface. Is there some parameter that
> we can pass in the header that can indiate that we expect a response
> in English? Or can the server respond with an empty list when the
> client is not asadmin?
>
> Thanks
> Nitya
>
>
> Jennifer Chou wrote:
>> Yes - that is intentional. It should be the same as in v2. This
>> string is in the LocalStrings.properties so i18n/localization
>> shouldn't be an issue.
>>
>> Jennifer
>>
>> Nitya Doraisamy wrote:
>>> Jennifer While executing 'list-admin-objects', if there are no
>>> admin-object resources the server responds with 'Nothing to list'.
>>> Is this a bug? Is it filed? If not, does the plugin/tools need to
>>> handle possible localization of this string?
>>>
>>> Nitya
>