dev@glassfish.java.net

Re: Monitoring: _at_ProbeListener never called?

From: Prashanth Abbagani <Prashanth.Abbagani_at_Sun.COM>
Date: Mon, 06 Jul 2009 12:14:24 -0700

Alexey,

We have a bug in the integration layer which monitoring team is looking
into. Will keep you updated on this

Prashanth

Oleksiy Stashok wrote:
>
>> They look ok to me.
>> Are you calling StatsProviderManager.register with your
>> ThreadPoolStatsProvider? Can you check that it's called?
>> StatsProviderManager.register("jsp-container", PluginPoint.SERVER,
>> "applications/app1/jsp1", new JspStatsProvider());
> Yes, sure I do register StatsProvider like that and I'm able to check
> statistics values using asadmin, but all stats values are always 0,
> because @ProbeListener never gets called.
>
> Thanks.
>
> WBR,
> Alexey.
>
>>
>> Oleksiy Stashok wrote:
>>> Hi,
>>>
>>> I have an issue, after registering ProbeProvider and corresponding
>>> StatsProvider, which uses @ProbeListener annotation, the actual
>>> listener methods never get called.
>>> I added logging to emitter and probe listener codes, and checked,
>>> that emitter notifies the probe provider, but probe listener
>>> callback methods are never called.
>>>
>>> Probably I missed something obvious there. Here I attach
>>> ProbeProvider and StatsProvider sources, can someone check what is
>>> wrong with them?
>>>
>>> Thank you in advance.
>>>
>>> WBR,
>>> Alexey.
>>>
>>> PS: I didn't forget to declare ProbeProvider in META-INF and there
>>> is no error logged in server.log
>>>
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>