SiteVision Onlinehelp

SiteVision and JMX

SiteVision exposes some MBeans that are accessible via JMX. This page demonstrates how you connect and gives some examples of what you can do.

How to connect

1. Whenever SiteVision is started, JMX connection information is written to the server log. Below is an example:

2. If the system account is active and you have access to it, you can use the JMX URL from the server log to connect to the JMX service.

Below is an example of how it can look like when connecting with JConsole (Note! You must start JConsole on the actual server since you are connecting to localhost):

3. When you are connected you can perform operations on some of the MBeans.

An example: If you need a thread dump, you can create one by executing the 'requestThreadDump' operation for the WrapperManager MBean. The thread dump information will be written to the server log.

4. You can also read/write attributes on some of the MBeans.

An example: If you want to see how much memory SiteVision are configured to use, you look at the 'Memory' attribute on the 'WrapperService' MBean.

(OBSERVE! This particular attribute is read/write so you can change the value BUT if you do that SiteVision will be restarted instantly to use the new value. I.e. use this attribute with precaution.)

Tip! Available MBeans are briefly described in the SiteVision MBeans section.
help-cluster-2.sitevision.net