activemq动态发现的问题,求帮助

jack_jones 发布于 2014/07/15 17:35
阅读 928
收藏 0

两个mq,做broker clusters,采用dynamic discovery方式

两个mq启动后,控制台报警告

 WARN | Could not start network bridge between: vm://localhost1?async=false&network=true and: tcp://mycentos2:61617 due to: java.net.UnknownHostException: mycentos2


java端控制台

2014-07-15 16:59:00,858 INFO [org.apache.activemq.transport.discovery.DiscoveryTransport] - <Adding new broker connection URL: tcp://mycentos:61616>
2014-07-15 16:59:00,859 INFO [org.apache.activemq.transport.discovery.DiscoveryTransport] - <Adding new broker connection URL: tcp://mycentos2:61617>
然后就没了,连不上阿

加载中
0
kimmking
kimmking
/etc/hosts 里配置mycentos2 和 mycentos 的ip
返回顶部
顶部