List of Attributes
Attribute | Description | Default value |
name | Full qualified JMX ObjectName — Catalina:type=MBeanFactory | |
className | Existing MBean full qualified class name (see Tomcat MBean description above) | |
classLoader | ObjectName of server or web application classloader
(Catalina:type=ServerClassLoader,name=[server,common,shared] or Catalina:type=WebappClassLoader,context=/myapps,host=localhost) |
|
ref | JMX Connection reference | JMX Connection reference
|
echo | Echo command usage (access and result | false |
Example to create remote MBean
<jmx:create
ref=”${jmx.reference}”
name=”Catalina:type=MBeanFactory”
className=”org.apache.commons.modeler.BaseModelMBean”
classLoader=”Catalina:type=ServerClassLoader,name=server”>
<arg value=”org.apache.catalina.mbeans.MBeanFactory” />
</jmx:create>
Many Tomcat MBeans can’t be linked to their parent once created. The Valve, Cluster and Realm MBeans are not automatically connected with their parent. Use the MBeanFacrory create operation instead.