aelgn
aelgn

Reputation: 900

JBoss 6 limit JMX to localhost

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

Answers (1)

jpkroehling
jpkroehling

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).

http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5/html/Administration_Console_Quick_Start_Guide/ch04s02.html

In short, you'll have to change two files:

server/$PROFILE/conf/jboss-service.xml
server/$PROFILE/deploy/jmx-invoker-service.xml

Upvotes: 1

Related Questions