Howdy, This will give you a start: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/mbeans-descriptor-howto. html
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Michael Mattox [mailto:[EMAIL PROTECTED] >Sent: Tuesday, April 01, 2003 12:04 PM >To: Tomcat Users List >Subject: Using JMX with Tomcat - registering my MBean > >I've looked at the same code included in the O'Reilly JMX book but it's not >a big help because it doesn't give any examples in a servlet container. >I've also looked at the SUN RI but it's the same problem. I have a plain >old java object that is in my service layer. My Actions call it and it >persists objects. I'm now trying to turn my service into an MBean, but I >can't seem to register it with the server. I'm not even sure where this >code should go when running in a servlet container. > >If anyone has an example of how to create, register, & use an MBean inside >Tomcat I'd be forever grateful. I've searched the mailing list archives >and >Google and haven't found any examples. > >Thanks, >Michael > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]