I have problems managing a customized MBean.
First I've created an custom interface, a MBean implementing this interface
and put the class files in tomcat/common/classes.
Then I've appended the "descriptors" attribute in Tomcat's server.xml and
wrote the corresponding mbean-descriptors.xml file.
When starting Tomcat there are no errors in logfile correspondig to MBeans.
But I can't find my MBean!
I tried:
http://webserver/manager/jmxproxy
My MBean is not listed.
JMX Set command is not working, too.
Any help or advice is greatly appreciated.
Best regards.
Oliver
My MBean Descriptor:
<?xml version="1.0"?>
<mbeans-descriptors>
<mbean name="TascMBean"
className="
org.apache.catalina.mbeans.ClassNameMBean"
description="Notifier for Tasc"
domain="Catalina"
group="Test"
type="my.comp.TascMBean">
<attribute name="errorMessage"
description="ErrorMessage"
type="
java.lang.String"
writeable="true"/>
</mbean>
</mbeans-descriptors>
--
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)