Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我真的找不到任何关于在 JBoss 6.0.0.Final 上调用 JMX 的不同途径的结论性文档。
jboss.org 指南SecureTheJmxConsole仅指定如何为 jmx-console.war Web 应用程序和 JMX-connector 设置身份验证领域。我觉得可能还有其他访问 JMX 的方法。RMI、HttpInvoker 呢?
理想情况下,我想知道限制所有 JMX 访问本地主机的最佳方法。
那么,如何确保 JMX 的所有途径都只能从 localhost 访问呢?
Red Hat 产品有一个官方文档存储库,其中包括 JBoss EAP(基于 JBoss AS 的 Red Hat 产品)。本文档适用于 EAP 5.x,但应该类似于 JBoss AS 6(EAP 5.x 基于 JBoss AS 5.1)。
http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5/html/Administration_Console_Quick_Start_Guide/ch04s02.html
简而言之,您必须更改两个文件:
server/$PROFILE/conf/jboss-service.xml server/$PROFILE/deploy/jmx-invoker-service.xml