2016-08-13 107 views
1

环境:ActiveMQ的5.14启动对window7的失败

-window 7 -activemq 5.14.0

我正在学习如何使用的ActiveMQ,按照入门指南中,我使用的“bin \ ActiveMQ的开始“。然后,我尝试访问http://0.0.0.0:8161,but浏览器显示我”请求的U​​RL无法检索“。

activemq.log:

2016-08-10 22:47:36,170 | INFO | Refreshing [email protected]: startup date [Wed Aug 10 22:47:36 CST 2016]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | main 
2016-08-10 22:47:37,964 | INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[D:\apache-activemq-5.14.0\bin\..\data\kahadb] | org.apache.activemq.broker.BrokerService | main 
2016-08-10 22:47:43,782 | INFO | PListStore:[D:\apache-activemq-5.14.0\bin\..\data\localhost\tmp_storage] started | org.apache.activemq.store.kahadb.plist.PListStoreImpl | main 
2016-08-10 22:47:43,970 | INFO | Apache ActiveMQ 5.14.0 (localhost, ID:Fung-PC-49294-1470840463814-0:1) is starting | org.apache.activemq.broker.BrokerService | main 
2016-08-10 22:47:44,016 | INFO | Listening for connections at: tcp://Fung-PC:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main 
2016-08-10 22:47:44,016 | INFO | Connector openwire started | org.apache.activemq.broker.TransportConnector | main 
2016-08-10 22:47:44,032 | INFO | Listening for connections at: amqp://Fung-PC:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main 
2016-08-10 22:47:44,048 | INFO | Connector amqp started | org.apache.activemq.broker.TransportConnector | main 
2016-08-10 22:47:44,063 | INFO | Listening for connections at: stomp://Fung-PC:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main 
2016-08-10 22:47:44,063 | INFO | Connector stomp started | org.apache.activemq.broker.TransportConnector | main 
2016-08-10 22:47:44,079 | INFO | Listening for connections at: mqtt://Fung-PC:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main 
2016-08-10 22:47:44,079 | INFO | Connector mqtt started | org.apache.activemq.broker.TransportConnector | main 
2016-08-10 22:47:44,344 | WARN | [email protected]@5717c37{/,null,STARTING} has uncovered http methods for path:/| org.eclipse.jetty.security.SecurityHandler | main 
2016-08-10 22:47:44,578 | INFO | Listening for connections at ws://Fung-PC:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.ws.WSTransportServer | main 
2016-08-10 22:47:44,578 | INFO | Connector ws started | org.apache.activemq.broker.TransportConnector | main 
2016-08-10 22:47:44,594 | INFO | Apache ActiveMQ 5.14.0 (localhost, ID:Fung-PC-49294-1470840463814-0:1) started | org.apache.activemq.broker.BrokerService | main 
2016-08-10 22:47:44,594 | INFO | For help or more information please see: http://activemq.apache.org | org.apache.activemq.broker.BrokerService | main 
2016-08-10 22:47:45,592 | INFO | No Spring WebApplicationInitializer types detected on classpath | /admin | main 
2016-08-10 22:47:45,764 | INFO | ActiveMQ WebConsole available at http://0.0.0.0:8161/ | org.apache.activemq.web.WebConsoleStarter | main 
2016-08-10 22:47:45,779 | INFO | ActiveMQ Jolokia REST API available at http://0.0.0.0:8161/api/jolokia/ | org.apache.activemq.web.WebConsoleStarter | main 
2016-08-10 22:47:45,857 | INFO | Initializing Spring FrameworkServlet 'dispatcher' | /admin | main 
2016-08-10 22:47:46,434 | INFO | No Spring WebApplicationInitializer types detected on classpath | /api | main 
2016-08-10 22:47:46,887 | INFO | jolokia-agent: Using policy access restrictor classpath:/jolokia-access.xml | /api | main 
2016-08-10 23:06:22,019 | INFO | Refreshing [email protected]: startup date [Wed Aug 10 23:06:22 CST 2016]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | main 
2016-08-10 23:06:23,626 | INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[D:\apache-activemq-5.14.0\bin\..\data\kahadb] | org.apache.activemq.broker.BrokerService | main 
2016-08-10 23:06:23,735 | INFO | KahaDB is version 6 | org.apache.activemq.store.kahadb.MessageDatabase | main 
2016-08-10 23:06:23,767 | INFO | Recovering from the journal @1:503 | org.apache.activemq.store.kahadb.MessageDatabase | main 
2016-08-10 23:06:23,782 | INFO | Recovery replayed 126 operations from the journal in 0.031 seconds. | org.apache.activemq.store.kahadb.MessageDatabase | main 
2016-08-10 23:06:23,798 | INFO | PListStore:[D:\apache-activemq-5.14.0\bin\..\data\localhost\tmp_storage] started | org.apache.activemq.store.kahadb.plist.PListStoreImpl | main 
2016-08-10 23:06:23,935 | INFO | Apache ActiveMQ 5.14.0 (localhost, ID:Fung-PC-50031-1470841583813-0:1) is starting | org.apache.activemq.broker.BrokerService | main 
2016-08-10 23:06:23,982 | INFO | Listening for connections at: tcp://Fung-PC:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main 
2016-08-10 23:06:23,982 | INFO | Connector openwire started | org.apache.activemq.broker.TransportConnector | main 
2016-08-10 23:06:23,997 | INFO | Listening for connections at: amqp://Fung-PC:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main 
2016-08-10 23:06:23,997 | INFO | Connector amqp started | org.apache.activemq.broker.TransportConnector | main 
2016-08-10 23:06:24,013 | INFO | Listening for connections at: stomp://Fung-PC:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main 
2016-08-10 23:06:24,029 | INFO | Connector stomp started | org.apache.activemq.broker.TransportConnector | main 
2016-08-10 23:06:24,029 | INFO | Listening for connections at: mqtt://Fung-PC:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main 
2016-08-10 23:06:24,044 | INFO | Connector mqtt started | org.apache.activemq.broker.TransportConnector | main 
2016-08-10 23:06:24,263 | WARN | [email protected]@1fb19a0{/,null,STARTING} has uncovered http methods for path:/| org.eclipse.jetty.security.SecurityHandler | main 
2016-08-10 23:06:24,413 | INFO | Listening for connections at ws://Fung-PC:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.ws.WSTransportServer | main 
2016-08-10 23:06:24,421 | INFO | Connector ws started | org.apache.activemq.broker.TransportConnector | main 
2016-08-10 23:06:24,427 | INFO | Apache ActiveMQ 5.14.0 (localhost, ID:Fung-PC-50031-1470841583813-0:1) started | org.apache.activemq.broker.BrokerService | main 
2016-08-10 23:06:24,430 | INFO | For help or more information please see: http://activemq.apache.org | org.apache.activemq.broker.BrokerService | main 
2016-08-10 23:06:24,938 | INFO | No Spring WebApplicationInitializer types detected on classpath | /admin | main 
2016-08-10 23:06:25,265 | INFO | ActiveMQ WebConsole available at http://0.0.0.0:8161/ | org.apache.activemq.web.WebConsoleStarter | main 
2016-08-10 23:06:25,265 | INFO | ActiveMQ Jolokia REST API available at http://0.0.0.0:8161/api/jolokia/ | org.apache.activemq.web.WebConsoleStarter | main 
2016-08-10 23:06:25,343 | INFO | Initializing Spring FrameworkServlet 'dispatcher' | /admin | main 
2016-08-10 23:06:25,733 | INFO | No Spring WebApplicationInitializer types detected on classpath | /api | main 
2016-08-10 23:06:25,920 | INFO | jolokia-agent: Using policy access restrictor classpath:/jolokia-access.xml | /api | main 
2016-08-13 13:55:47,213 | INFO | Refreshing [email protected]: startup date [Sat Aug 13 13:55:47 CST 2016]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | main 
2016-08-13 13:55:48,726 | INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[D:\apache-activemq-5.14.0\bin\..\data\kahadb] | org.apache.activemq.broker.BrokerService | main 
2016-08-13 13:55:49,569 | INFO | KahaDB is version 6 | org.apache.activemq.store.kahadb.MessageDatabase | main 
2016-08-13 13:55:49,631 | INFO | Recovering from the journal @1:15972 | org.apache.activemq.store.kahadb.MessageDatabase | main 
2016-08-13 13:55:49,631 | INFO | Recovery replayed 35 operations from the journal in 0.047 seconds. | org.apache.activemq.store.kahadb.MessageDatabase | main 
2016-08-13 13:55:49,678 | INFO | PListStore:[D:\apache-activemq-5.14.0\bin\..\data\localhost\tmp_storage] started | org.apache.activemq.store.kahadb.plist.PListStoreImpl | main 
2016-08-13 13:55:49,959 | INFO | Apache ActiveMQ 5.14.0 (localhost, ID:Fung-PC-53687-1471067749771-0:1) is starting | org.apache.activemq.broker.BrokerService | main 
2016-08-13 13:55:50,037 | INFO | Listening for connections at: tcp://Fung-PC:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main 
2016-08-13 13:55:50,052 | INFO | Connector openwire started | org.apache.activemq.broker.TransportConnector | main 
2016-08-13 13:55:50,099 | INFO | Listening for connections at: amqp://Fung-PC:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main 
2016-08-13 13:55:50,115 | INFO | Connector amqp started | org.apache.activemq.broker.TransportConnector | main 
2016-08-13 13:55:50,130 | INFO | Listening for connections at: stomp://Fung-PC:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main 
2016-08-13 13:55:50,146 | INFO | Connector stomp started | org.apache.activemq.broker.TransportConnector | main 
2016-08-13 13:55:50,161 | INFO | Listening for connections at: mqtt://Fung-PC:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | main 
2016-08-13 13:55:50,161 | INFO | Connector mqtt started | org.apache.activemq.broker.TransportConnector | main 
2016-08-13 13:55:50,629 | WARN | [email protected]@1fb19a0{/,null,STARTING} has uncovered http methods for path:/| org.eclipse.jetty.security.SecurityHandler | main 
2016-08-13 13:55:51,051 | INFO | Listening for connections at ws://Fung-PC:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.ws.WSTransportServer | main 
2016-08-13 13:55:51,066 | INFO | Connector ws started | org.apache.activemq.broker.TransportConnector | main 
2016-08-13 13:55:51,066 | INFO | Apache ActiveMQ 5.14.0 (localhost, ID:Fung-PC-53687-1471067749771-0:1) started | org.apache.activemq.broker.BrokerService | main 
2016-08-13 13:55:51,066 | INFO | For help or more information please see: http://activemq.apache.org | org.apache.activemq.broker.BrokerService | main 
2016-08-13 13:55:52,579 | INFO | No Spring WebApplicationInitializer types detected on classpath | /admin | main 
2016-08-13 13:55:53,400 | INFO | ActiveMQ WebConsole available at http://0.0.0.0:8161/ | org.apache.activemq.web.WebConsoleStarter | main 
2016-08-13 13:55:53,400 | INFO | ActiveMQ Jolokia REST API available at http://0.0.0.0:8161/api/jolokia/ | org.apache.activemq.web.WebConsoleStarter | main 
2016-08-13 13:55:53,572 | INFO | Initializing Spring FrameworkServlet 'dispatcher' | /admin | main 
2016-08-13 13:55:54,508 | INFO | No Spring WebApplicationInitializer types detected on classpath | /api | main 
2016-08-13 13:55:54,758 | INFO | jolokia-agent: Using policy access restrictor classpath:/jolokia-access.xml | /api | main 

我不知道为什么它不工作,我做的入门指南告诉我这样做。没有activemq 5.14支持窗口7?我怎样才能使它工作?

回答

0

由于记录在你的日志经纪人已经开始,但没有失败,你必须使用http://localhost:8161/admin访问Web的控制台,这里提到http://activemq.apache.org/getting-started.html

+0

我试着照你说的是什么,用户的http://本地主机:8161 /管理员访问web-cnsole,但仍然失败。gettting-started.html我再次阅读并没有什么有用的发现 – TungFung

+0

我知道为什么现在,它必须使用127.0.0.0,但不是本地主机或0.0.0.0 – TungFung

+0

好消息。玩的开心 –