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
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
Server getTomcatMBeanServer()
> {
> MBeanServer server = null;
> List myList =
> MBeanServerFactory.findMBeanServer(null);
> if (myList.toArray().length > 0)
> server = (MBeanServer)myList.toArray()[0];
>
> return server;
>}
>
> }
>
> ---
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
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