ActiveMQ基于 zookeeper + leveldb 配置 启动失败,一直刷 Warn 日志

真丶傻 2017-09-21 10:41:39
环境:
jdk:1.7.0_79
activemq: 5.12.3
zookeeper: 3.4.10

zookeeper 集群启动没问题, 三个 activemq 启动后,两个被 lock ,只有一个一直在刷 WARN 日志:
INFO | Opening socket connection to server 10.253.1.88/10.253.1.88:2181
WARN | unprocessed event state: AuthFailed
INFO | Socket connection established to 10.253.1.88/10.253.1.88:2181, initiating session
INFO | Session establishment complete on server 10.253.1.88/10.253.1.88:2181, sessionid = 0x15ea233860e0000, negotiated timeout = 4000
INFO | Not enough cluster members connected to elect a master.
INFO | Not enough cluster members connected to elect a master.
INFO | Not enough cluster members have reported their update positions yet.
INFO | Promoted to master
WARN | listeners are taking too long to process the events
WARN | listeners are taking too long to process the events
INFO | Using the pure java LevelDB implementation.
INFO | Master started: tcp://localhost:34707
WARN | Store update waiting on 1 replica(s) to catch up to log position 0.
WARN | Store update waiting on 1 replica(s) to catch up to log position 0.
WARN | Store update waiting on 1 replica(s) to catch up to log position 0.
WARN | Store update waiting on 1 replica(s) to catch up to log position 0.
WARN | Store update waiting on 1 replica(s) to catch up to log position 0.
WARN | Store update waiting on 1 replica(s) to catch up to log position 0.


activemq 配置:
 
<persistenceAdapter>
<replicatedLevelDB
directory="/home/tmp/activemq-data"
replicas="3"
bind="tcp://0.0.0.0:0"
zkAddress="10.253.1.88:2181"
zkPath="/home/tmp/activemq/leveldb-stores"
hostname="localhost"
/>
</persistenceAdapter>


...全文
2377 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

1,220

社区成员

发帖
与我相关
我的任务
社区描述
企业软件 中间件技术
社区管理员
  • 中间件
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧