JMX monitoring on Docker images

Tags: #<Tag:0x00007f491b6d27c8>

It is now possible to enable JMX monitoring on our standard docker images.

This can be achieved by adding -e JMX=true to the run command. This adds the appropriate JVM options to enable the 8555 port as JMX port.

You also need to expose this JMX port publicly (e.g. -p 56789:8555) and connect your JMX tool (e.g. JConsole) on localhost:<JMX port, e.g. 56789 in the above example>.

Warning: JMX monitoring has a bad influence on overall performances of the JVM, enable it only on demand (this is the same logic as for remote debugging)