尽管here描述了在HornetQ中默认启用JMX,但在连接到WildFly进程后,我在jconsole中看不到任何MBean。我错过了什么?
答案 0 :(得分:5)
备份后,编辑服务器配置XML文件(例如standalone-full.xml)并添加jmx-management-enabled
XML元素,如here所述,用于禁用JMX:
.......
<subsystem xmlns="urn:jboss:domain:messaging:2.0">
<hornetq-server>
<!-- next line is to be added -->
<jmx-management-enabled>true</jmx-management-enabled>
...........
</hornetq-server>
...........
之后重启WildFly。