-
1. Re: Disable usage of JMX?
jgoodyea May 4, 2009 9:31 AM (in response to dacapoalfine)Hi,
You can enable Jaas authentication for the JMX port via configuring the following files:
/conf/jmx/xml,
/conf/login.properties,
/conf/groups.properties,
/conf/users-credentials.properties, and
/conf/users-passwords.properties
Normally the default username and password are already configured for this, I would check to see if this feature had been disabled in the configuration files.
See the below references for more detail.
Overview of FUSE ESB Container's Configuration File:
http://fusesource.com/docs/esb/3.3/deploy_guide/DeployESBConfigSyntax.html
Using a JMX Console with ServiceMix
http://servicemix.apache.org/jmx-console.html
Related docs:
Changing the RMI Port and the JMX URL
http://fusesource.com/docs/esb/3.3/deploy_guide/DeployESBJMXConfig.html
Cheers,
Jamie
-
2. Re: Disable usage of JMX?
dacapoalfine May 5, 2009 7:38 AM (in response to jgoodyea)Hi and thanks a lot.
I would though prefer if the JMX/rmi connector could be disabled entirely, rather than just password protecting it. Do you know if this is possible?
Regards/DS
-
3. Re: Disable usage of JMX?
jgoodyea May 5, 2009 9:50 AM (in response to dacapoalfine)Hi,
You can disable the JMX/RMI connector by commenting out the following conf/jmx.xml entries:
<!-- RMI registry
<sm:rmiRegistry id="rmiRegistry" port="${rmi.port}" />
-->
<!-- JMX Remote connector
<sm:jmxConnector objectName="connector:name=rmi"
serviceUrl="${jmx.url}"
threaded="true"
daemon="true"
depends-on="rmiRegistry, jndi"
environment="#jmxConnectorEnvironment" />
-->
With the two above entries commented out Servicemix should boot up without opening port 1099. I've checked with my own local install with "netstat -an | grep 1099" and it appears to be running ok for the moment. I would normally run an instance with the Jaas authentication enabled however.
Cheers,
Jamie
-
4. Re: Disable usage of JMX?
sriram_imshriram Sep 17, 2009 1:33 PM (in response to jgoodyea)Thanks for the Q and A.
It helpded me.
I have disabled JMX now.
Edited by: sriram on Sep 17, 2009 5:33 PM