在window7上启动Activemq 5.14失败

在window7上启动Activemq 5.14失败,activemq,Activemq,环境: -窗口7 -activemq 5.14.0 我正在学习如何使用activemq,按照开始指南,我使用“bin\activemq start”。然后我尝试访问浏览器,显示“无法检索请求的URL” activemq.log: 2016-08-10 22:47:36,170 | INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@20e2cbe0: startup date [Wed Aug 10 22:47:3

环境:

-窗口7 -activemq 5.14.0

我正在学习如何使用activemq,按照开始指南,我使用“bin\activemq start”。然后我尝试访问浏览器,显示“无法检索请求的URL”

activemq.log:

2016-08-10 22:47:36,170 | INFO  | Refreshing  org.apache.activemq.xbean.XBeanBrokerFactory$1@20e2cbe0: 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  | ServletContext@o.e.j.s.ServletContextHandler@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 org.apache.activemq.xbean.XBeanBrokerFactory$1@2a5ca609: 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  | ServletContext@o.e.j.s.ServletContextHandler@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 org.apache.activemq.xbean.XBeanBrokerFactory$1@2a5ca609: 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  | ServletContext@o.e.j.s.ServletContextHandler@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吗?如何使其工作?

在您的日志中,代理已启动且未失败,您必须使用此处提到的访问web控制台

我尝试按照您所说的,用户访问web cnsole,但仍然失败。Getting-started.html我已再次阅读,但没有任何帮助,我现在知道原因,它必须使用127.0.0.0,但不能使用localhost或0.0.0.0好消息。玩得高兴