users@glassfish.java.net

Re: discrepancy between asadmin and web-admin gui in Glassfish v3.

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Fri, 12 Feb 2010 12:14:02 -0500

Hi, Anissa

> There is no API exposed to the GUI to determine if a Sniffer is
> visible to user or not. So, gui just listed out ALL the sniffer
> except "security". We exclude "security" just because we know it is
> invisible :).
> If there is a way to determine whether the Sniffer should be shown or
> not, please let me know, and I can easily add that filter.

The GUI can probably do something similar as CLI (call the
Sniffer.isUserVisible API). I will give you more details offline.

Thanks,

- Hong

> Hong Zhang wrote:
>
>> Yes, we should have consistent behaviors for these two.
>> Looking at the code, the JPASniffer does not declare itself to be
>> visible to the user, so the asadmin list-applications seem to have
>> the expected behavior. We need to figure out how the gui displays the
>> information and make the two of them consistent.
>>
>> Thanks,
>>
>> - Hong
>>
>> Dominik Dorn wrote:
>>
>>>Yes, its a JPA app.
>>>
>>>On Fri, Feb 12, 2010 at 3:43 PM, kedar <Kedar.Mhaswade_at_sun.com> wrote:
>>>
>>>
>>>>Dominik Dorn wrote:
>>>>
>>>>
>>>>>When I do
>>>>>
>>>>>asadmin list-applications
>>>>>skriptum <ejb, web>
>>>>>
>>>>>
>>>>>in the web-admin gui it says
>>>>>
>>>>> skriptum [ejb, jpa, web]
>>>>>
>>>>>why isn't jpa mentioned in the asadmin output?
>>>>>
>>>>>This may be a bug.
>>>>>
>>>>>
>>>>+1. What is it though? A jpa app or not?
>>>>Please file it so.
>>>>
>>>>-Kedar
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net For
> additional commands, e-mail: users-help_at_glassfish.dev.java.net