The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » GlassFish

Thread: SUNONE APP Server 8.2 and JMX MBeanServer

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 1 - Last Post: Jul 2, 2009 11:52 AM by: sauvage
singhabhi23

Posts: 1
SUNONE APP Server 8.2 and JMX MBeanServer
Posted: Jul 1, 2009 2:31 AM
 
  Click to reply to this thread Reply

Hi All,

Can any one tell me how SUNONE console and MBeanServer is related to each other. In my application I'm creating MBeanServer. This MBean Server is breaking communication between SUNONE console and nodes.
If I remove my app then SUNONE console shows node is running fine but if I start my app then SUNONE console shows node is not running but I checked it is running fine.

Thanks
Abhishek

sauvage

Posts: 65
Re: SUNONE APP Server 8.2 and JMX MBeanServer
Posted: Jul 2, 2009 11:52 AM   in response to: singhabhi23
 
  Click to reply to this thread Reply

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.




 XML java.net RSS