Skip navigation links
Apache Tomcat 9.0.0.M9

Package org.apache.catalina.ant.jmx

This package contains a set of JMX Task implementations for Ant (version 1.6 or later) that can be used to interact with the Remote JMX JSR 160 RMI Adaptor to get/set attributes, invoke MBean operations and query for Mbeans inside a running instance of Tomcat.

See: Description

Package org.apache.catalina.ant.jmx Description

This package contains a set of JMX Task implementations for Ant (version 1.6 or later) that can be used to interact with the Remote JMX JSR 160 RMI Adaptor to get/set attributes, invoke MBean operations and query for Mbeans inside a running instance of Tomcat. For more information, see http://tomcat.apache.org/tomcat-7.0-doc/monitoring.html.

Each task element can open a new jmx connection or reference an existing one. The following attribute are exists in every tasks:

Attribute Description
url The JMX Connection URL of the remote Tomcat MBeansServer.
username The username of a MBeanServer auth, when configured.
password The password of a MBeanServer auth, when configured.
host The JMX Connection host.
port The JMX Connection port.
ref The name of the ant internal reference for a jmx connection.

NOTE - This Tasks only work, when JSR 160 MBean Adaptor as remote jvm is configured.

Skip navigation links
Apache Tomcat 9.0.0.M9

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.