activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asookazian <asookaz...@gmail.com>
Subject Re: starting two instances of ActiveMQ on same machine with kahadb master/slave
Date Tue, 29 Jul 2014 22:28:07 GMT
Ok made some progress with 5.8.0 AMQ.  I am able to bring up both
nodes/brokers (one master who attains the kahadb lock first and one slave).

I deploy the activemq-web-console-5.8.0.war to tomcat-7.0.54 and the app
starts up successfully at:

http://localhost:8080/activemq-web-console-5.8.0/index.jsp

The problem is that the broker name is "web-console" where it should be
"broker-1" or "broker-2".  When I produce messages using the producer
client, the messages are showing up on in the TEST.FOO queue for
web-console.

Any idea how to show the queues for master/slave only (not web-console)?

This is critical in bin/catalina.sh:

JAVA_OPTS=-Dwebconsole.type=properties
-Dwebconsole.jms.url="failover:(tcp://localhost:61616,tcp://localhost:61626)"
-Dwebconsole.jmx.url="service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi,service:jmx:rmi:///jndi/rmi://localhost:2099/jmxrmi"


And it looks like JAVA_OPTS is not being over-written anywhere in that
script.  Any help appreciated.  thx.





--
View this message in context: http://activemq.2283324.n4.nabble.com/starting-two-instances-of-ActiveMQ-on-same-machine-with-kahadb-master-slave-tp4683769p4683823.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message