[ 
https://issues.apache.org/jira/browse/AMQ-9711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré resolved AMQ-9711.
---------------------------------------
    Resolution: Not A Problem

> 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


Reply via email to