admin@glassfish.java.net

Re: restart-required flag

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Fri, 30 Oct 2009 09:36:09 -0700

On Oct 29, 2009, at 2:19 PM, Bill Shannon wrote:

> So it sounds like the answer is "no one else is doing this".
>
> I don't completely understand how the AMX code works. If
> UnprocessedConfigListener.getUnprocessedChangeEvents() returns
> a non-empty list, does that mean that restart is required?
>
> UnprocessedConfigListener is in the org.glassfish.admin.mbeanserver
> package. Does that mean it depends on the MBean server? Is there
> a way to get this information that doesn't depend on the MBean server?
we could have a small service that listen to changes notification and
keep the unprocessed ones for public consumption.
AMX could start using that service too.

simple enough to do, u want it ?

jerome

>
> Lloyd Chambers wrote:
>> Bill,
>> Look at the code that AMX uses.
>> Lloyd
>> On Oct 29, 2009, at 1:51 PM, Bill Shannon wrote:
>>> Right, but asadmin doesn't use AMX. Is anyone working on exposing
>>> it
>>> through the http interface that asadmin uses? Is there a "get"
>>> command
>>> that will return the value?
>>>
>>> Lloyd Chambers wrote:
>>>> It's already there for a long time in AMX.
>>>> See org.glassfish.admin.amx.impl.ext.SystemStatusImpl
>>>> Lloyd
>>>> On Oct 29, 2009, at 10:59 AM, Bill Shannon wrote:
>>>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=6132
>>>>>
>>>>> Is anyone working on adding a restart-required flag and/or
>>>>> exposing it
>>>>> through the admin interface so that the list-domains command can
>>>>> display it?
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>>>
>>>> Lloyd Chambers
>>>> lloyd.chambers_at_sun.com
>>>> GlassFish Team
>>>> ---------------------------------------------------------------------
>>>> 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
>>>
>> Lloyd Chambers
>> lloyd.chambers_at_sun.com
>> GlassFish Team
>> ---------------------------------------------------------------------
>> 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
>