You can define a JMX-MBean Create Instance job (JMXN_JOB) to create an MBean on a JMX server.
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 Create Instance job, you must specify the following statements:
Optional Statements
You can specify the following optional statements for a JMX-MBean Create Instance job:
Example: Create an MBean Instance on a JMX Server
Suppose that you want to create an MBean instance on a JMX server. The job uses the cdc.jmx.SimpleDynamic class. The constructor of the class takes a single string parameter with the value "Hello".
AGENT APPAGENT URL service:jmx:rmi:///jndi/rmi://agenttest:5099/jmxserver MBEAN 'DefaultDomain:index=CreateIns1,type=cdc.jmx.SimpleDynamic' CLASSNAME cdc.jmx.SimpleDynamic PARAMETER TYPE(java.lang.String) VALUE(Hello)
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|