Hi, Using AMQ with JDK 16_17. I have configured my broker with useJMX and disabled createConnector. I have open wire on 10444 via
<transportConnectors> <transportConnector name="openwire" uri="tcp://0.0.0.0:10444"/> </transportConnectors> And started AMQ with SUNJMX="-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=10333 -Dcom.sun.management.jmxremote.auth enticate=false -Dcom.sun.management.jmxremote.ssl=false " I have TOMCAT 5.0.28 (jdk 16_17) running on entirely different host and have deployed the webconsole to that Tomcat instance. My TOMCAT is started with: JAVA_OPTS="${JAVA_OPTS} -Dwebconsole.type=properties" JAVA_OPTS="${JAVA_OPTS} -Dwebconsole.jms.url=tcp://amqhost:10444" JAVA_OPTS="${JAVA_OPTS} -Dwebconsole.jmx.url=service:jmx:rmi:///jndi/rmi://amqhost:10333/jmxrmi" The web console seems to function OK: I can see queues and put messages to them, and basic stuff like that. I also want remote jconsole access too (from yet another host). But I can't get that working. Using the remote connect string: service:jmx:rmi:///jndi/rmi://amqhost:10333/jmxrmi JCONSOLE spins for a minute or 2, saying that it is connected but fails saying the connection didn't succeed; try again. If I add a connector port to AMQ like this (in activemq.xml): <managementContext> <managementContext connectorPort="10333" rmiServerPort="10222" jmxDomainName="pine.cone"/> </managementContext> I can connect with jconsole with a string like: service:jmx:rmi://amqhost:10222/jndi/rmi://amqhost:10333/jmxrmi. If I make the corresponding change to the catalina.sh file in my tomcat and restart: JAVA_OPTS="${JAVA_OPTS} -Dwebconsole.jmx.url=service:jmx:rmi://amqhost:10222/jndi/rmi://amqhost:10333/jmxrmi" The console no longer works. I get stack traces with: javax.servlet.ServletException: javax.servlet.jsp.el.ELException: An error occurred while getting property "brokerName" from an instance of class org.apache.activemq.web.RemoteJMXBrokerFacade AND java.lang.IllegalStateException: No broker is found at any of the 1 configured urls Is there anyway I can get both the webconsole and JCONSOLE work, remotely , to an AMQ broker? thanks in advance! -- View this message in context: http://old.nabble.com/Remote-JMX-with-both-Web-Console-and-JCONSOLE--tp27202204p27202204.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.