Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

AttributeDescription
NumberOfActiveServicesThe number of services which can currently serve requests.
NumberOfInactiveServicesThe number of services which have been disabled by an administrator.

NumberOfFaultyServices

The number of services which are faulty.

Image Removed

The operations available in the ServiceAdmin MBean:

OperationDescription
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.

Image Removed

Statistics MBean

This MBean is used for monitoring system and server statistics. Its attributes are as follows:

AttributesDescription
AvgSystemResponseTimeThe average response time for all the services deployed in the system. The beginning of the measurement is the time at which the server started.
MaxSystemResponseTimeThe maximum response time for all the services deployed in the system. The beginning of the measurement is the time at which the server started.
MinSystemResponseTimeThe 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.
SystemRequestCountThe total number of requests that has been served by the system since the server was started.
SystemResponseCountThe total number of response that has been sent by the system since the server was started.

Image Removed

Operations available in the Statistics MBean:

...

.

...

 

...