Skip navigation links
Apache Tomcat 9.0.27

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 https://tomcat.apache.org/tomcat-9.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:

Common task attributes
Attribute Description
url The JMX Connection URL of the remote Tomcat MBeansServer.
username The username of an MBeanServer auth, when configured.
password The password of an 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.27

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