JMXAccessorSetTask: set attribute value Ant task

List of Attributes

Attribute Description Default value
name Full qualified JMX ObjectName — Catalina:type=Server
attribute Existing MBean attribute (see Tomcat MBean description above)
value value that set to attribute
type type of the attribute. java.lang.String
ref JMX Connection reference jmx.server
echo Echo command usage (access and result) false

Example to set remote MBean attribute value

 

<jmx:set

name=”Catalina:type=Manager,context=/servlets-examples,host=localhost”

attribute=”maxActiveSessions”

value=”500″

type=”int”

/>

The Other Bits: Permissions, Groups, Messages, and Profiles
JMXAccessorInvokeTask: invoke MBean operation Ant task

Get industry recognized certification – Contact us

keyboard_arrow_up
Open chat
Need help?
Hello 👋
Can we help you?