[
https://issues.apache.org/jira/browse/AMQ-9711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17950578#comment-17950578
]
Ken Liao commented on AMQ-9711:
-------------------------------
It seems to me that is a client error. Do you have the steps to reproduce? And
your environment setup?
> Cannot create MBean on ActiveMQ slave broker
> --------------------------------------------
>
> Key: AMQ-9711
> URL: https://issues.apache.org/jira/browse/AMQ-9711
> Project: ActiveMQ Classic
> Issue Type: Bug
> Affects Versions: 5.16.2
> Reporter: Diptesh Chakraborty
> Priority: Major
>
> I have ActiveMQ in master slave mode with KahaDB shared across common file
> system.
> I am encountering
> {color:#FF0000}*javax.management.InstanceNotFoundException*{color}
> {code:java}
> String jmxUrl1 = "service:jmx:rmi:///jndi/rmi://" + remoteIp1 +
> ":15090/jmxrmi";
> String brokerName1 = "slave";
> JMXServiceURL url1 = new JMXServiceURL(jmxUrl1);
> JMXConnector jmxConnector = JMXConnectorFactory.connect(url1, null);
> MBeanServerConnection connection = jmxConnector.getMBeanServerConnection();
> ObjectName queueObjectName1 = new ObjectName(
> "org.apache.activemq:type=Broker,brokerName=" + brokerName1 +
> ",destinationType=Queue,destinationName=TestIn"
> );{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact