Java Management Extensions (JMX) is a technology that lets you implement management interfaces for Java applications. JConsole is a JMX-compliant monitoring tool, which comes with the Java Development Kit (JDK) 1.5 or later versions. Therefore, when you use a WSO2 product, JMX is enabled by default, which allows you to monitor the product using JConsole. When you start JConsole, the MBeans tab will show the MBeans generated for your product. While some of these MBeans (ServerAdmin and DataSource) are common to all WSO2 products, some MBeans are specific to WSO2 DSSAS.
Info |
---|
Go to the WSO2 administration guide for detailed instructions on how to configure JMX for a WSO2 product, how to use JConsole for monitoring a product and for descriptions of the common MBeans used by all WSO2 products. |
Listed below are the MBeans that are specific to WSO2 DSS.
Table of Contents |
---|
ServiceAdmin MBean
This MBean is used for administering services deployed in DSS. Its attributes are as follows:
Attribute | Description |
---|---|
NumberOfActiveServices | The number of services which can currently serve requests. |
NumberOfInactiveServices | The number of services which have been disabled by an administrator. |
NumberOfFaultyServices | The number of services which are faulty. |
The operations available in the ServiceAdmin MBean:
Operation | Description |
---|---|
startService(p1:string) | The p1 parameter is the service name. You can activate a service using this operation. |
stopService(p1:string) | The p1 parameter is the service name. You can deactivate/disable a service using this operation. |
Statistics MBean
This MBean is used for monitoring system and server statistics. Its attributes are as follows:
Attributes | Description |
---|---|
AvgSystemResponseTime | The average response time for all the services deployed in the system. The beginning of the measurement is the time at which the server started. |
MaxSystemResponseTime | The maximum response time for all the services deployed in the system. The beginning of the measurement is the time at which the server started. |
MinSystemResponseTime | The minimum time for all the services deployed in the system. The beginning of the measurement is the time at which the server started. |
SystemFaultCount | The total number of faults that occurred in the system since the server was started. |
SystemRequestCount | The total number of requests that has been served by the system since the server was started. |
SystemResponseCount | The total number of response that has been sent by the system since the server was started. |
Operations available in the Statistics MBean:
...
. |
...
|
...