技術(shù)員聯(lián)盟提供win764位系統(tǒng)下載,win10,win7,xp,裝機(jī)純凈版,64位旗艦版,綠色軟件,免費(fèi)軟件下載基地!

當(dāng)前位置:主頁(yè) > 教程 > 服務(wù)器類 >

activemq服務(wù)無(wú)法正常啟動(dòng)

來(lái)源:技術(shù)員聯(lián)盟┆發(fā)布時(shí)間:2018-11-11 12:02┆點(diǎn)擊:

  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: | 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

  解決方法:

  經(jīng)過(guò)非常辛苦的排查發(fā)現(xiàn),我們發(fā)現(xiàn)Windows的一個(gè)服務(wù)占用了這個(gè)端口Internet Connection Sharing (ICS)把這個(gè)服務(wù)關(guān)閉即可。

  關(guān)于這個(gè)問題也挺無(wú)奈的使用netstat -an也查詢不到這個(gè)進(jìn)程占用的端口。環(huán)境不同可能占用的程序也不同。