[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-dev
Subject:    Configuring the MBeanServer with which Tomcat MBeans get registered
From:       "Vamsavardhana Reddy" <c1vamsi1c () gmail ! com>
Date:       2007-06-29 9:12:37
Message-ID: 22d56c4d0706290200n321186d3j295bfc860968b52e () mail ! gmail ! com
[Download RAW message or body]


Hi,

I notice that if there is more than one registered MBeanServer in the JVM,
there is no way to configure the MBeanServer with which Tomcat registers its
MBeans.  IIUC, org.apache.tomcat.util.modeler.Registry.getMBeanServer() is
the method that hooks up the MBeanServer with which tomcat registers its
MBeans.  It is using the first one in the results from
MBeanServerFactory.findMBeanServer(null) which returns all the registered
MBeanServers.  If there are no MBeanServers, then it creates one. Is there a
way to configure the MBeanServer? In any case, I have created a bug report
http://issues.apache.org/bugzilla/show_bug.cgi?id=42759 and attached a patch
too.

Thanks and regards,
Vamsi


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic