dev@glassfish.java.net

Re: changed events are not called?

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 28 Jul 2009 07:23:46 -0700

I'll look at this today. I haven't changed the AMX code here.

The AMX impl is in SystemStatusImpl:


     public List<Object[]> getRestartRequiredChanges() {
         final UnprocessedConfigListener unp =
getHabitat().getComponent(UnprocessedConfigListener.class);

         final List<UnprocessedChangeEvents> items =
unp.getUnprocessedChangeEvents();

         final List<Object[]> changesObjects = new
ArrayList<Object[]>();
...
         return changesObjects;
     }



On Jul 28, 2009, at 1:02 AM, Jerome Dochez wrote:

> As far as I can tell, the unprocessed events are sent, I can see
> three listeners, in particular the
> org.glassfish.admin.mbeanserver.UnprocessedConfigListener gets
> notified and populates its list of unprocessed events so I think
> everything is fine in the Transaction/events mechanisms.
>
> where/how do you get your list of unprocessed events ?
>
> jerome
>
> On Jul 26, 2009, at 7:20 AM, Anissa Lam wrote:
>
>>
>>
>> Yes, i have filed bug https://glassfish.dev.java.net/issues/show_bug.cgi?id=8815
>> Adding jvm option eg. -Djava.security.manager will not trigger the
>> server-restart-required status. Changing value of existing jvm
>> option does and behaves correctly.
>>
>> thanks
>> Anissa
>>
>>
>> Jerome Dochez wrote:
>>> I don't remember changing anything but I will look at it. do you
>>> have a reproduceable case to speed things up.
>>>
>>> thx, jerome
>>> On Jul 24, 2009, at 5:03 PM, Lloyd Chambers wrote:
>>>
>>>> Anissa tells me she is not seeing restart required events.
>>>>
>>>> So yes, I think something was broken somewhere.
>>>>
>>>> Lloyd
>>>>
>>>> On Jul 24, 2009, at 4:57 PM, Marina Vatkina wrote:
>>>>
>>>>> Did something change recently? Tx manager does not get any
>>>>> notifications when the transaction-service element is changed.
>>>>> The value is correctly stored in the domain.xml.
>>>>>
>>>>> I call asadmin set after I see the message in the log that Tx
>>>>> manager had been initialized.
>>>>>
>>>>> thanks,
>>>>> -marina
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>> Lloyd Chambers
>>>> lloyd.chambers_at_sun.com
>>>> GlassFish Team
>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>>
>>
>> ---------------------------------------------------------------------
>> 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
>

Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team