Reputation: 900
I can not really find any conclusive documentation on the different avenues for JMX invokation on a JBoss 6.0.0.Final.
The jboss.org guide SecureTheJmxConsole only specifies how to set an authentication realm for the jmx-console.war web app and JMX-connector. I feel like there is probably other ways of accessing JMX. What about RMI, HttpInvoker?
Ideally, I would like to know the best way to limit all JMX access to localhost.
So, how to go about making sure all avenues of JMX are accessible from localhost only?
Upvotes: 3
Views: 2112
Reputation: 14061
There's an official documentation repository for Red Hat products, which includes JBoss EAP (the Red Hat product based on JBoss AS). This documentation is for EAP 5.x, but should be similar to JBoss AS 6 (EAP 5.x is based on JBoss AS 5.1).
In short, you'll have to change two files:
server/$PROFILE/conf/jboss-service.xml
server/$PROFILE/deploy/jmx-invoker-service.xml
Upvotes: 1