Org.apache.activemq.xbean.xbeanbrokerfactory$1@1a7e798:startup Date [Wed Sep 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 is 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
Workaround:
After a very hard investigation, we found that one of Windows's services is taking over the port Internet Connection Sharing (ICS) to shut down the service.
This is a very frustrating question. Using Netstat-an also does not query the ports that this process occupies. Different environments may occupy different programs.