public class

MSTRJMXManager

extends Object
java.lang.Object
   ↳ com.microstrategy.utils.MSTRJMXManager

Class Overview

MicroStrategy Java SDK supports Java Management Extensions (JMX).

New MicroStrategy MBean must be pre-registered in init().

To enable JMX for MicroStrategy MBean the JVM must be configured with the System property "-Dmstr.jmx". Note that any of the following is also valid -Dmstr.jmx=1 -Dmstr.jmx=true -Dmstr.jmx=abc but the following will leave the feature disabled: -Dmstr.jmx=0 -Dmstr.jmx=false

JMX will still need to be enabled for the JVM. Here are the System properties required to setup remote JMX access at port 7879:

 -Dcom.sun.management.jmxremote.port=7879
 -Dcom.sun.management.jmxremote.ssl=false
 -Dcom.sun.management.jmxremote.authenticate=false

Java jconsole (available in a JDK install) can then be used to connect to the server at the given port (in this case 7879).

See Also
  • com.microstrategy.webapi.SystemInfo#isEnabled(String)

Summary

Constants
String SYSTEM_PROPERTY_MSTR_JMX Allows registration of all MicroStrategy MBean instances.
Public Constructors
MSTRJMXManager()
Public Methods
static Object get(Class<?> mbean)
static void init()
Register your MicroStrategy MBean classes here with JMX.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String SYSTEM_PROPERTY_MSTR_JMX

Allows registration of all MicroStrategy MBean instances.

Constant Value: "mstr.jmx"

Public Constructors

public MSTRJMXManager ()

Public Methods

public static Object get (Class<?> mbean)

Parameters
mbean class of the MBean
Returns
  • registered instance (may return NULL)

public static void init ()

Register your MicroStrategy MBean classes here with JMX.