Using JMX for Operations or in Extension Development

Data Hub provides JMX services to assist with operational management and external management.

Introduction to JMX

Java Management Extensions (JMX) is a Java technology that supplies tools for managing and monitoring various Java software.. JMX is available from Oracle at http://www.oracle.com/technetwork/articles/java/javamanagement-140525.htmlInformation published on non-SAP site. The JMX documentation can be found at http://www.oracle.com/technetwork/java/javase/tech/docs-jsp-135989.htmlInformation published on non-SAP site. For Data Hub, JMX is used with Spring. You can find information about JMX and Spring at https://docs.spring.io/spring/docs/4.3.3.RELEASE/spring-framework-reference/html/jmx.htmlInformation published on non-SAP site

Running JMX

  1. Go to a terminal window prompt.
  2. Launch Data Hub.
  3. Open a second terminal window.
  4. Enter jconsole at the prompt, and the JConsole UI appears.
  5. You are then presented with a pick list of JMX sources. Connect to org.apache.catalina.startup.Bootstrap start.

To see the JMX MBeans, select the MBeans tab and pick Start of the navigation path Next navigation step Manager > datahub-webapp > localhost > OperationsEnd of the navigation path