users@grizzly.java.net

Re: JMX Management unregister of a bean

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Fri, 05 Sep 2008 12:09:13 -0400

Salut,

Mark Hig wrote:
> Hi
>
> We are using Grizzly to process requests asynchronously. We have written a
> JMX Bean Manager so that Grizzly can register requests with JMX. The
> register method on the management interface is correctly called and we can
> see the JMX stats for the RequestInfo bean in JConsole correctly.
>
> The problem we have, however, is that Grizzly never seems to call the
> unregister method on the Bean Management interface. this means that the
> references to the requests are never released by the Bean Manager and our
> server quickly runs out of resources.

Hum not good. Can you cut& paste the way you invoke the unregister? From
that I will write a test case to see if I can reproduce the issue locally.

Thanks!

-- Jeanfrancois



>
> T.I.A
>
> Mark