users@glassfish.java.net

Re: SUNONE APP Server 8.2 and JMX MBeanServer

From: <glassfish_at_javadesktop.org>
Date: Thu, 02 Jul 2009 11:52:16 PDT

Hi,

I am no expert at all in JMX or SUNONE console.
But I guess SUNONE console need the default MBeanServer created by the app server.
So you shouldn't create your own MBeanServer in your app but use instead the default one using
java.lang.management.ManagementFactory.getPlatformMBeanServer();

Regards,

Laurent.
[Message sent by forum member 'sauvage' (sauvage)]

http://forums.java.net/jive/thread.jspa?messageID=353998