Steve Cohen wrote:
I am trying to write a custom MBean to put a particular function of our application under management control This application is currently deployed under Tomcat 6.0.

I do not need remote monitoring/management. Local management will do. I am perfectly happy to invoke my management function through a shell script invoking a java jmx client to perform the action required.

I find the Tomcat documentation on this subject confusing and sparse. The howto page here:
http://tomcat.apache.org/tomcat-6.0-doc/mbeans-descriptor-howto.html

simply shows a sample configuration file without explaining which elements on it are required, which pertain to the specific example, etc.

Is there a standard syntax for these mbean descriptor files with a true explanation of each field?

I believe it's based on the Apache Commons Modeler.
Here is a link to the DTD for the Model MBeans Configuration File:
http://jakarta.apache.org/commons/dtds/mbeans-descriptors.dtd

Here is a link for the java doc for package org.apache.tomcat.util.modeler. Scroll down to description:
http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/tomcat/util/modeler/package-summary.html

cheers,
HH


Also, compared to the standard Sun JMX tutorial - which elements does Tomcat provide - server, agent ?

Thanks.




--
H. Hall
ReedyRiver Group LLC
http://www.reedyriver.com


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to