tags:

views:

241

answers:

0

Hi,

I use ManagementFactory.getPlatformMBeanServer() from within Apache Tomcat and from a regular JAR file (outside the scope of apache).

I think (And correct me if im wrong) I'm getting different MBean Servers.

My question is - How Do I reach the Tomcat mbean server from outside or alternatively, how do I register the MBeans from inside apache with the "outside world" MBean server.

The first option (Reach the Tomcat mbean server from the outside) is preferable.

Thanks!!