Security: JMX Configuration

JMX configuration is controlled in the etc/org.apache.karaf.management.cfg file. You can control the port, the security realm and the JMX URL.

By default, the address is service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root.
You can find more information on Karaf’s web site.

In Roboconf, the JMX server is not installed by default.
To install it, just type in feature:install management.

JMX over HTTP

It is also possible to use HTTP to access JMX with Jolokia.

feature:install jolokia

REST requests can then be sent to http://localhost:8181/jolokia.
Check https://karaf.apache.org/manual/latest/monitoring for more details.