Novaordis-jmx: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 22: Line 22:


=cljmx User Manual=
=cljmx User Manual=
For a JBoss instance running in standalone mode use jmx://<server-host-address>:9999, a standalone JBoss instance exposes the JMX bus over the management inferface.
For a JBoss server instance running in domain mode, use jmx://<server-host-address>:4447 (or whatever port the Remoting subsystem is listening on). This is because a JBoss server instance running in domain mode does not start a management interface, and exposes its JMX bus over its remoting connector. Additionally, the server instance has to be configured to expose the JMX bus over its remoting connector by setting <> in the remoting subsystem configuration of its corresponding server profile. More details here:


  cljmx localhost:9999
  cljmx localhost:9999

Revision as of 22:15, 7 July 2017

Internal

Overview

Provides novaordis-jmx.jar, which is a library, and a command line utility that can be used to explore a remote JMX bus.

cljmx localhost:9999

See cljmx User Manual for more details.

The current version (1.1.x) is built by declaring a static dependency of a specific JBoss version at compile time and embedding the dependencies within the artifact.

GitHub

https://github.com/NovaOrdis/novaordis-jmx

Accessing WildFly JMX Bus Remotely with novaordis-jmx

Accessing WildFly JMX Bus Remotely with novaordis-imx

cljmx User Manual

For a JBoss instance running in standalone mode use jmx://<server-host-address>:9999, a standalone JBoss instance exposes the JMX bus over the management inferface.

For a JBoss server instance running in domain mode, use jmx://<server-host-address>:4447 (or whatever port the Remoting subsystem is listening on). This is because a JBoss server instance running in domain mode does not start a management interface, and exposes its JMX bus over its remoting connector. Additionally, the server instance has to be configured to expose the JMX bus over its remoting connector by setting <> in the remoting subsystem configuration of its corresponding server profile. More details here:

cljmx localhost:9999

> help


A command line JMX browser. Use it to navigate the MBeanServer domain/MBean hierarchy as you
would navigate a filesystem.

Commands:

   cd - navigate to a domain or MBean

   ls - list the content of a domain or an MBean

   pwd - show the location in the hierarchy