首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

activemq启动不成功的有关问题

2012-09-13 
activemq启动不成功的问题The embedded ActiveMQ in ServiceMix is configured to use network multicasts

activemq启动不成功的问题
The embedded ActiveMQ in ServiceMix is configured to use network multicasts to discover other broker instances on the network. Sometimes, multicasts are disabled by policy, causing this exception:

ERROR - BrokerService - Failed to start ActiveMQ JMS Message Broker. Reason: java.net.SocketException: error setting options

The solution is to disable the multicast feature for ActiveMQ. In conf/activemq.xml, change...

    <transportConnectors>
      <transportConnector uri="tcp://localhost:61616" discoveryUri="multicast://default"/>
    </transportConnectors>

    <networkConnectors>
      <networkConnector uri="multicast://default"/>
    </networkConnectors>

... to ...

    <transportConnectors>
      <transportConnector uri="tcp://localhost:61616"/>
    </transportConnectors>

    <networkConnectors>
    </networkConnectors>

热点排行