tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyrille Le Clerc <>
Subject Re: How To Get MBean Server of Apache Tomcat.
Date Tue, 08 Dec 2009 13:00:07 GMT
   Hello Ben,

   Tomcat relies on the out-of-the-box feature of the JVM to make the
MBeanServer accessible to other processes (possibly located on other

   You have to add the following parameters to the Tomcat startup
command line : \ \ \

JMX listen port 6969 is configurable.

All details at

Hope this helps,


Cyrille Le Clerc

On Tue, Dec 8, 2009 at 1:34 PM, Ben Katz <> wrote:
> 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!!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message