Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
============
In TIBCO BusinessEvents, how to perform Custom Java Management Extensions (JMX) monitoring and configuring the Java Management Extensions(JMX) Scheduler?
Environment:
==========
TIBCO BusinessEvents
Java Management Extensions(JMX)
Resolution:
==========
1). The attached "JMXClient.zip" file contains primarily two Java classes, "MyJMXClient.java" and "Scheduler.java" . There is also one configuration file named "JMXQuery_Agent.txt".
A detailed description of the files content is provided below.
a). MyJMXClient.java -> In this program the connection to JMX is made.
b). Scheduler.java -> For Scheduling the JMX Monitoring by passing the interval as an argument.
c). JMXQuery_Agent.txt -> For Configuring the BE Agent parameters such as name, port and also the JMX function to monitor.
2). Compile these two Java classes and start the JMX Monitoring using the following command:
> java Scheduler <Configuration .txt file> <Schedule Interval>
Example:
java Scheduler C:\JMXClient\JMXQuery_Agent.txt 5
3). This Scheduler basically prints the monitoring messages to the Agent Log.
Attachments
==========
File JMXClient.zip