消息总线报错:
No BrokerService is registered with the BrokerRegistry
Are you sure there is a configured broker in the same classloader
可能原因:
非正常结束消息总线导致无法注册组件
解决方案:
方法一:删除activemq_jmx\data下的全部数据(先备份一下)
方法二:用之前正常的系统中的消息总线替换activemq_jmx文件夹。
方法三:注释activemq_jmx/conf/activemq.xml
<persistenceAdapter>
<kahaDB directory="${activemq.base}/data/kahadb"/>
</persistenceAdapter>
注释后:
<!--<persistenceAdapter>
<kahaDB directory="${activemq.base}/data/kahadb"/>
</persistenceAdapter>-->