I have 3 zookeeper machines and 3 activemq machines.
here is the configuration.
zookeeper:
tickTime=2000
initLimit=10
syncLimit=2
dataDir=/var/zookeeper/data
clientPort=2181
server.153=192.168.62.153:2888:3888
server.156=192.168.62.156:2888:3888
server.158=192.168.62.158:2888:3888
activemq:
<replicatedLevelDB
directory="/opt/apache-activemq-5.11.1/data/leveldb"
replicas="3"
bind="tcp://0.0.0.0"
zkAddress="192.168.62.153:2181,192.168.62.156:2181,192.168.62.158:2181"
hostname="192.168.62.153"
zkPath="/opt/zookeeper/leveldb-stores"
sync="local_disk"
/>
First, I started the three zookeeper machines, then I started the three activemq machines.
the zookeeper machine showed one leader and two flowers.
But when I view the activemq webconsole http://ip:8161, whatever which activemq machine, it can not be visited.
There is no error message in the log, but a warning like this:
SASL configuration failed: javax.security.auth.login.LoginException: No JAAS configuration section named 'Client' was found in specified JAAS configuration file: '/opt/apache-activemq-5.11.1/conf/login.config'. Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it. | org.apache.zookeeper.ClientCnxn
| main-SendThread.
Please help me fixed the problem.