How to connect SpringBoot JMX beans with Jolokia?
问题 I'm using @EnableMBeanExport in a SpringBoot application to make my beans with @ManagedResource be available to the JMX server. This works fine in simple local processes with VisualVM. I'm now trying to add Jolokia into the mix, so I can reference those beans remotely with a REST service instead of setting up a remote RMI connection, which is annoying. The Jolokia doc page at https://jolokia.org/reference/html/jmx.html says to use the following: MBeanServer jolokiaServer =