Windows XP Windows 7 Windows 2003 Windows Vista Windows教程綜合 Linux 系統教程
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟件教程
 Windows教程網 >> 電腦軟件教程 >> 服務器技術 >> 關於服務器 >> activemq服務無法正常啟動

activemq服務無法正常啟動

日期:2017/2/8 10:12:21      編輯:關於服務器

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-bin\apache-activemq-5.6.0\bin\..\data\localhost\tmp_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-bin\apache-activemq-5.6.0\bin\..\data\kahadb] | 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也查詢不到這個進程占用的端口。環境不同可能占用的程序也不同。

Copyright © Windows教程網 All Rights Reserved