You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Olaf Bergner <ol...@saxsys.de> on 2009/03/23 14:19:13 UTC

Cannot see custom MBean in Geronimo's JMX viewer

My ear registers some custom MBeans with Geronimo's MBeanServer on
application startup. More precisely, I'm searching the list of available
MBeanServers as returned by the MBeanServerFactory for the one having
"geronimo" as its default domain. I hand that MBeanServer over to Spring's
JMX support which happily tells me that it has successfully registered all
my MBeans with that server. No exceptions thrown, everything goes smoothly.
I fail to see, however, my newly registered MBeans in Geronimo's JMX viewer,
and searching for them fails as well.

Do I still have a configuration problem or am I wrong in expecting to see my
MBeans in Geronimo's JMX viewer?

Thx,
Olaf
-- 
View this message in context: http://www.nabble.com/Cannot-see-custom-MBean-in-Geronimo%27s-JMX-viewer-tp22659997s134p22659997.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Cannot see custom MBean in Geronimo's JMX viewer

Posted by Olaf Bergner <ol...@saxsys.de>.
I used MC4J to connect to Geronimo's MBean server and lo and behold, I can
see my MBeans. So it seems as if the JMX viewer is configured to only
display Geronimo's own MBeans/GBeans.

Cheers,
Olaf


Olaf Bergner wrote:
> 
> My ear registers some custom MBeans with Geronimo's MBeanServer on
> application startup. More precisely, I'm searching the list of available
> MBeanServers as returned by the MBeanServerFactory for the one having
> "geronimo" as its default domain. I hand that MBeanServer over to Spring's
> JMX support which happily tells me that it has successfully registered all
> my MBeans with that server. No exceptions thrown, everything goes
> smoothly. I fail to see, however, my newly registered MBeans in Geronimo's
> JMX viewer, and searching for them fails as well.
> 
> Do I still have a configuration problem or am I wrong in expecting to see
> my MBeans in Geronimo's JMX viewer?
> 
> Thx,
> Olaf
> 

-- 
View this message in context: http://www.nabble.com/Cannot-see-custom-MBean-in-Geronimo%27s-JMX-viewer-tp22659997s134p22670369.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.