Hi, I have a problem trying to connect to my broker using JMX. Did some research, established a configuration that I need and that should work in ActiveMQ 5.3.0 standalone.
My configuration: activemq.xml <broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhos" useJmx="true"> ... <managementContext> <managementContext connectorPort="11099" rmiServerPort="11119" jmxDomainName="org.apache.activemq"/> </managementContext> <transportConnectors> <transportConnector name="openwire" uri="tcp://localhost:51616" /> </transportConnectors> ... </broker> ActiveMQ starts the JMX service meaning I have INFO | JMX consoles can connect to service:jmx:rmi://localhost:11119/jndi/rmi://localhost:11099/jmxrmi in my launch log. Now on my Ubuntu 8.04 : netstat -a | grep 11119 tcp 0 0 *:11119 *:* LISTEN netstat -a | grep 11099 tcp 0 0 *:11099 *:* LISTEN So I have my connector listening on the port I specified. So far so good... Unfortunately my client... JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://localhost:11119/jndi/rmi://localhost:11099/jmxrmi"); JMXConnector connector = JMXConnectorFactory.connect(url); throws : java.net.NoRouteToHostException: No route to host My jconsole cannot connect as well... I can see it tries to connect but it fails and the socket is closed: netstat -a | grep 11099 tcp 0 0 *:11099 *:* LISTEN tcp 0 0 localhost:35885 localhost:11099 TIME_WAIT tcp 0 0 localhost:35883 localhost:11099 TIME_WAIT I would be greatful for any ideas on what I might be doing wrong... Thanks in advance. Michal -- View this message in context: http://old.nabble.com/JMX-connection-problem-tp26745832p26745832.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.