activemq服务无法正常启动

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也查询不到这个进程占用的端口。环境不同可能占用的程序也不同。

(0)

相关推荐