您当前的位置: 首页 > 网络技术  > 服务器教程 浏览
activemq服务无法正常启动
发布时间:2015-12-11    点击率:次    来源:www.sytcke.com    作者:电脑技术学习网

   org.apache.activemq.xbean.XBeanBrokerFactory$1@1a7e798: startup date [Wed Sep 26 13:26:41 CST 2012]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | main

  2012-09-26 13:26:42,162 | INFO | PListStore:[D:apache-activemq-5.6.0-binapache-activemq-5.6.0bin..datalocalhosttmp_storage ] started | org.apache.activemq.store.kahadb.plist.PListStore | main

  2012-09-26 13:26:42,187 | INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[D:apache-activemq-5.6.0-binapache-activemq-5.6.0bin..datakahadb] | org.apache.activemq.broker.BrokerService | main

  2012-09-26 13:26:42,961 | INFO | KahaDB is version 4 | org.apache.activemq.store.kahadb.MessageDatabase | main

  2012-09-26 13:26:42,997 | INFO | Recovering from the journal ... | org.apache.activemq.store.kahadb.MessageDatabase | main

  2012-09-26 13:26:42,998 | INFO | Recovery replayed 1 operations from the journal in 0.016 seconds. | org.apache.activemq.store.kahadb.MessageDatabase | main

  2012-09-26 13:26:43,016 | INFO | ActiveMQ 5.6.0 JMS Message Broker (localhost) is starting | org.apache.activemq.broker.BrokerService | main

  2012-09-26 13:26:43,017 | INFO | For help or more information please see: http://activemq.apache.org/ | org.apache.activemq.broker.BrokerService | main

  2012-09-26 13:26:43,360 | ERROR | Failed to start ActiveMQ JMS Message Broker (localhost, null). Reason: java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616 due to: java.net.BindException: Address already in use: JVM_Bind

  解决方法:

  经过非常辛苦的排查发现,我们发现Windows的一个服务占用了这个端口Internet Connection Sharing (ICS)把这个服务关闭即可。

  关于这个问题也挺无奈的使用netstat -an也查询不到这个进程占用的端口。环境不同可能占用的程序也不同。

来源 电脑技术网 www.sytcke.com
发表留言
发表留言请先登录!
免责声明:本站发布的信息和评论纯属网民个人行为,并不代表本站立场,如发现有违法信息或侵权行为,请直接与本站管理员联系,我们将在收到您的信息后24小时内作出处理!