Re: How to get reference of MBeanServer in Tomcat

2003-08-28 Thread s p
MX consol to listen > to. > > Note: There is a bug in Tomcat that is doesn't > shutdown the consol properly > if you use this option. As a result, you will lose > the ability to do a > clean shutdown. > > "s p" <[EMAIL PROTECTED]> wrote in messag

RE: How to get reference of MBeanServer in Tomcat

2003-08-27 Thread s p
he > mx4j-jmx.jar from server/lib to > common/lib so your web apps can use the Tomcat JMX > classes. > > Rob > > -Original Message- > From: s p [mailto:[EMAIL PROTECTED] > Sent: 27 August 2003 03:59 > To: [EMAIL PROTECTED] > Subject: How to get referen

RE: How to get reference of MBeanServer in Tomcat

2003-08-27 Thread s p
Server getTomcatMBeanServer() > { > MBeanServer server = null; > List myList = > MBeanServerFactory.findMBeanServer(null); > if (myList.toArray().length > 0) > server = (MBeanServer)myList.toArray()[0]; > > return server; >} > > } > > ---

How to get reference of MBeanServer in Tomcat

2003-08-27 Thread s p
I am using JMX technology to get information of Tomcat server. I am unable to get the reference of the MBeanServer in Tomcat. Has any one worked on this before. I am able get the information for other application servers like weblogic and webshere. But I did not find suitable APIs for Tomcat. Any h

How reference of MBeanServer

2003-08-27 Thread s p
I am using JMX technology to get information of Tomcat server. I am unable to get the reference of the MBeanServer in Tomcat. Has any one worked on this before. I am able get the information for other application servers like weblogic and webshere. But I did not find suitable APIs for Tomcat. Any h