Two or more instances of activeMQ are not discovered due to the same activemq.home

Solution Verified - Updated -


  • Two or more activeMQ instances are not discovered;
  • The agent.log file logs the following:
ERROR [ResourceDiscoveryComponent.invoker.daemon-19] (org.jbosson.plugins.fuse.FuseServerDiscoveryComponent)- Multiple Resources with the same key (ActiveMQ Server
{/home/amq/apache-activemq-5.11.0.redhat-620133}) were discovered - none will be reported to the plugin container! This most likely means that there are multiple java processes running with the same value for the activemq.home system property specified on their command lines. Here is the list of Resources: [key=ActiveMQ Server{/home/amq/apache-activemq-5.11.0.redhat-620133}
,name=ActiveMQ Server {/home/amq/apache-activemq-5.11.0.redhat-620133} ActiveMQ Server,type=ActiveMQ Server,version=5.11.0.redhat-620133,description=ActiveMQ Server Process, monitored via Sun JVM Attach API]


  • Red Hat JBoss A-MQ (AMQ) 6.2.0
  • Unzipped jboss-a-mq archive file and copied located at $AMQ-HOME/extras folder;
  • Unzipped archive file;
  • Run the following to create new instances:
$ /bin/activemq create instanceA
$ /bin/activemq create instanceB
  • Modified jetty.xml and activemq.xml files and port values;
  • Started both instances:
$ ./instanceA console
$ ./instanceB console

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In