I think that probably explains the difference in behaviour for different operations, though. The Dashboard MBean Metrics views are powered by opening a JMX connection and directly invoking remote calls on various M(X)Beans, like the OperatingSystemMXBean or MemoryMXBean. JFR operations like starting a recording or listing .jfc event templates open a JMX connection and then go through a JMC library call stack, which I'm sure hits that HotspotManagementToolkit and therefore requires the MissionControl MXBean.
Originally posted by @andrewazores in cryostatio/cryostat#595 (reply in thread)
I think that probably explains the difference in behaviour for different operations, though. The Dashboard MBean Metrics views are powered by opening a JMX connection and directly invoking remote calls on various M(X)Beans, like the
OperatingSystemMXBeanorMemoryMXBean. JFR operations like starting a recording or listing.jfcevent templates open a JMX connection and then go through a JMC library call stack, which I'm sure hits thatHotspotManagementToolkitand therefore requires the MissionControl MXBean.Originally posted by @andrewazores in cryostatio/cryostat#595 (reply in thread)