activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mathewvino <vinojmat...@hotmail.com>
Subject ActiveMQ – “Master/Slave” configuration with failover protocol
Date Sat, 24 Sep 2016 00:11:44 GMT
Hi there

i am trying with latest version of  apache-activemq-5.14.0  to do the
Master/Slave failover

Use the below tutorial which is straight forward which is on 5.8.0

https://www.javacodegeeks.com/2014/04/using-activemq-masterslave-configuration-with-failover-protocol.html

Following steps did

1) activemq-admin create ..\cluster\broker-1
2)activemq-admin create ..\cluster\broker-2
3) broker-1.bat in C:\apache-activemq-5.8.0\cluster\broker-1\bin directory
--- make changes to
set ACTIVEMQ_HOME=”C:/apache-activemq-5.8.0″
set ACTIVEMQ_BASE=”C:/apache-activemq-5.8.0/cluster/broker-1″
set ACTIVEMQ_CONF=%ACTIVEMQ_BASE%/conf
4) activemq.xml for broker-1 to enable JMX monitoring, notice useJMX=”true”
attribute below.
5) <managementContext createConnector="true" connectorPort="1099"/>

6)run broker-1.bat

but i am getting the following error not sure what it is ..

Task Options (Options specific to each task):
    --extdir <dir>  - Add the jar files in the directory to the classpath.
    --version       - Display the version information.
    -h,-?,--help    - Display this help information. To display task
specific he
lp, use Main [task] -h,-?,--help

Task Data:
    - Information needed by each specific task.

JMX system property options:
    -Dactivemq.jmx.url=<jmx service uri> (default is:
'service:jmx:rmi:///jndi/r
mi://localhost:1099/jmxrmi')
    -Dactivemq.jmx.user=<user name>
    -Dactivemq.jmx.password=<password>

Any help is really appreciated
Thanks
Vinoj

<http://activemq.2283324.n4.nabble.com/file/n4716886/activemqmaster.png> 







--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Master-Slave-configuration-with-failover-protocol-tp4716886.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message