[
https://issues.apache.org/jira/browse/AMQ-9711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17950769#comment-17950769
]
Jean-Baptiste Onofré edited comment on AMQ-9711 at 5/11/25 12:09 PM:
---------------------------------------------------------------------
I just tested and it works fine for me.
was (Author: jbonofre):
I just tested and it works fine for me.
Can you please a test case to reproduce (including ActiveMQ version) ?
> 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
> Assignee: Jean-Baptiste Onofré
> 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