tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <>
Subject Re: Access to Tomcat's MBeans
Date Thu, 04 Mar 2010 04:33:45 GMT

"Pid" <> wrote in message
> On 03/03/2010 06:32, Caldarale, Charles R wrote:
>>> From: Cummins College []
>>> Subject: Access to Tomcat's MBeans
>>> Could someone please help us how to access Tomcat's Mbeans
>>> using Java code.
>> This is not a direct answer, but you could download the source for Lambda 
>> Probe ( and see how it does it.
> Or examine the source code of the Manager app, which I believe does that.

A good suggestion.

If you are running with a SecurityManager, then you will probably be SOL 
(and rightly so).  Otherwise, the main problem that has been reported here 
is to find the correct MBeanServer, so if you don't mind programming against 
Tomcat, using it's Registry class 

saves pain if there are multiple MBeanServers, but this assumes that you are 
using TC 6.0.x.

Otherwise, startup Tomcat once with remote JMX enabled, and browse with the 
remote client to find the ObjectNames that you want, and just use normal JMX 

Otherwise, it's the same as anything
> p
>>   - Chuck
>> MATERIAL and is thus for use only by the intended recipient. If you 
>> received this in error, please contact the sender and delete the e-mail 
>> and its attachments from all computers.
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:

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

View raw message