JBoss Community

Re: MBeanServer and TCL for MBeans

created by Kabir Khan in JBoss AS7 Development - View the full discussion

As long as your service is started after the MBeanServerService the same MBeanServer should get picked up if you do MBSF.getPlatformMBeanServer() (as noted in the stacktrace above) or MBSF.createMBeanServer(). This is the same MBeanServer as used by the JSR-160 connector.

 

The idea is that MBeanServerService initialises all this, so if you are having issues have you put in the dependencies I mentioned?

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community