Previous Topic: Defining JMX-MBean Attribute Get JobsNext Topic: Defining JMX-MBean Create Instance Jobs


Defining JMX-MBean Attribute Set Jobs

You can define a JMX-MBean Attribute Set (JMXA_JOB) job to change the value of an MBean attribute on a JMX server. You can specify a set value for the attribute or use the serialized Java object passed by another job. When the attribute is set, the job returns the original attribute value as output. You can specify a success pattern to determine the job's success or failure. If the job's output matches the success pattern, the job completes successfully; otherwise, it fails.

Note: To run these jobs, your system requires CA WA Agent for UNIX, Linux, or Windows and CA WA Agent for Application Services.

Required Statements

To define a JMX-MBean Attribute Set job, you must specify the following statements:

Optional Statements

You can specify the following optional statements for a JMX-MBean Attribute Set job:

Example: Change the Value of an MBean Attribute

Suppose that you want to set the value of the State attribute of the cdc.jmx.SimpleDynamic MBean to the serialized Java object located in a path on the agent computer.

AGENT APPAGENT
URL service:jmx:rmi:///jndi/rmi://agenttest:5099/jmxserver
MBEAN 'DefaultDomain:index=1,type=cdc.jmx.SimpleDynamic'
ATTRIBUTE State
PARAMETER URI('FS:C:\Program Files\CA\WA Agent +     
R11.3_B129\spool\CM_QABC\MAIN\LLR113.7\JMXATT.GET.12587292392520')