Windows7系统启动activemq.bat报错,如下:
2018-03-29 14:31:23,760 | INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@20e267: startup date [Thu Mar 29 14:31:23 CST 2018]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain
2018-03-29 14:31:27,964 | INFO | PListStore:[F:\jar\apache-activemq-5.13.0\bin\win32\..\..\data\localhost\tmp_storage] started | org.apache.activemq.store.kahadb.plist.PListStoreImpl | WrapperSimpleAppMain
2018-03-29 14:31:28,087 | INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[F:\jar\apache-activemq-5.13.0\bin\win32\..\..\data\kahadb] | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:31:28,949 | INFO | Apache ActiveMQ 5.13.0 (localhost, ID:A6407000953-59884-1522305088687-0:1) is starting | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:31:29,061 | INFO | Listening for connections at: tcp://A6407000953:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | WrapperSimpleAppMain
2018-03-29 14:31:29,068 | INFO | Connector openwire started | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:31:29,087 | ERROR | Failed to start Apache ActiveMQ ([localhost, ID:A6407000953-59884-1522305088687-0:1], java.io.IOException: Transport Connector could not be registered in JMX: java.io.IOException: Failed to bind to server socket: amqp://0.0.0.0:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind) | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:31:29,097 | INFO | Apache ActiveMQ 5.13.0 (localhost, ID:A6407000953-59884-1522305088687-0:1) is shutting down | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:31:29,116 | INFO | Connector openwire stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:31:29,122 | INFO | Connector amqp stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:31:29,127 | INFO | Connector stomp stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:31:29,133 | INFO | Connector mqtt stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:31:29,138 | INFO | Connector ws stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:31:29,152 | INFO | PListStore:[F:\jar\apache-activemq-5.13.0\bin\win32\..\..\data\localhost\tmp_storage] stopped | org.apache.activemq.store.kahadb.plist.PListStoreImpl | WrapperSimpleAppMain
2018-03-29 14:31:29,155 | INFO | Stopping async queue tasks | org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
2018-03-29 14:31:29,159 | INFO | Stopping async topic tasks | org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
2018-03-29 14:31:29,165 | INFO | Stopped KahaDB | org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
2018-03-29 14:31:29,510 | INFO | Apache ActiveMQ 5.13.0 (localhost, ID:A6407000953-59884-1522305088687-0:1) uptime 1.473 seconds | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:31:29,516 | INFO | Apache ActiveMQ 5.13.0 (localhost, ID:A6407000953-59884-1522305088687-0:1) is shutdown | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:31:29,521 | INFO | Closing org.apache.activemq.xbean.XBeanBrokerFactory$1@20e267: startup date [Thu Mar 29 14:31:23 CST 2018]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain
2018-03-29 14:31:29,567 | WARN | Exception thrown from LifecycleProcessor on context close | org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.apache.activemq.xbean.XBeanBrokerFactory$1@20e267: startup date [Thu Mar 29 14:31:23 CST 2018]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:357)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:881)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:840)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.apache.activemq.hooks.SpringContextHook.run(SpringContextHook.java:30)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:853)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.xbean.XBeanBrokerService.stop(XBeanBrokerService.java:122)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerService.start(BrokerService.java:624)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:73)[activemq-spring-5.13.0.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1700)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1639)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:759)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.
at org.apache.activemq.xbean.XBeanBrokerFactory$1.
at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:154)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)[activemq-console-5.13.0.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.apache.activemq.console.Main.runTaskClass(Main.java:262)[activemq.jar:5.13.0]
at org.apache.activemq.console.Main.main(Main.java:115)[activemq.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)[wrapper.jar:3.2.3]
at java.lang.Thread.run(Unknown Source)[:1.8.0]
2018-03-29 14:31:29,836 | WARN | Exception encountered during context initialization - cancelling refresh attempt | org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Invocation of init method failed; nested exception is java.io.IOException: Transport Connector could not be registered in JMX: java.io.IOException: Failed to bind to server socket: amqp://0.0.0.0:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1572)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:759)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.
at org.apache.activemq.xbean.XBeanBrokerFactory$1.
at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:154)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)[activemq-console-5.13.0.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.apache.activemq.console.Main.runTaskClass(Main.java:262)[activemq.jar:5.13.0]
at org.apache.activemq.console.Main.main(Main.java:115)[activemq.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)[wrapper.jar:3.2.3]
at java.lang.Thread.run(Unknown Source)[:1.8.0]
2018-03-29 14:32:09,862 | INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@1b58bea: startup date [Thu Mar 29 14:32:09 CST 2018]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain
2018-03-29 14:32:12,503 | INFO | PListStore:[F:\jar\apache-activemq-5.13.0\bin\win32\..\..\data\localhost\tmp_storage] started | org.apache.activemq.store.kahadb.plist.PListStoreImpl | WrapperSimpleAppMain
2018-03-29 14:32:12,605 | INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[F:\jar\apache-activemq-5.13.0\bin\win32\..\..\data\kahadb] | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:32:13,885 | INFO | KahaDB is version 6 | org.apache.activemq.store.kahadb.MessageDatabase | WrapperSimpleAppMain
2018-03-29 14:32:13,965 | INFO | Recovering from the journal @1:503 | org.apache.activemq.store.kahadb.MessageDatabase | WrapperSimpleAppMain
2018-03-29 14:32:13,985 | INFO | Recovery replayed 1 operations from the journal in 0.089 seconds. | org.apache.activemq.store.kahadb.MessageDatabase | WrapperSimpleAppMain
2018-03-29 14:32:14,318 | INFO | Apache ActiveMQ 5.13.0 (localhost, ID:A6407000953-59925-1522305134130-0:1) is starting | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:32:14,385 | INFO | Listening for connections at: tcp://A6407000953:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | WrapperSimpleAppMain
2018-03-29 14:32:14,392 | INFO | Connector openwire started | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:32:14,411 | ERROR | Failed to start Apache ActiveMQ ([localhost, ID:A6407000953-59925-1522305134130-0:1], java.io.IOException: Transport Connector could not be registered in JMX: java.io.IOException: Failed to bind to server socket: amqp://0.0.0.0:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind) | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:32:14,422 | INFO | Apache ActiveMQ 5.13.0 (localhost, ID:A6407000953-59925-1522305134130-0:1) is shutting down | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:32:14,440 | INFO | Connector openwire stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:32:14,449 | INFO | Connector amqp stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:32:14,455 | INFO | Connector stomp stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:32:14,460 | INFO | Connector mqtt stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:32:14,465 | INFO | Connector ws stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:32:14,480 | INFO | PListStore:[F:\jar\apache-activemq-5.13.0\bin\win32\..\..\data\localhost\tmp_storage] stopped | org.apache.activemq.store.kahadb.plist.PListStoreImpl | WrapperSimpleAppMain
2018-03-29 14:32:14,492 | INFO | Stopping async queue tasks | org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
2018-03-29 14:32:14,496 | INFO | Stopping async topic tasks | org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
2018-03-29 14:32:14,501 | INFO | Stopped KahaDB | org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
2018-03-29 14:32:14,915 | INFO | Apache ActiveMQ 5.13.0 (localhost, ID:A6407000953-59925-1522305134130-0:1) uptime 2.349 seconds | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:32:14,921 | INFO | Apache ActiveMQ 5.13.0 (localhost, ID:A6407000953-59925-1522305134130-0:1) is shutdown | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:32:14,926 | INFO | Closing org.apache.activemq.xbean.XBeanBrokerFactory$1@1b58bea: startup date [Thu Mar 29 14:32:09 CST 2018]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain
2018-03-29 14:32:14,953 | WARN | Exception thrown from LifecycleProcessor on context close | org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.apache.activemq.xbean.XBeanBrokerFactory$1@1b58bea: startup date [Thu Mar 29 14:32:09 CST 2018]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:357)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:881)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:840)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.apache.activemq.hooks.SpringContextHook.run(SpringContextHook.java:30)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:853)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.xbean.XBeanBrokerService.stop(XBeanBrokerService.java:122)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerService.start(BrokerService.java:624)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:73)[activemq-spring-5.13.0.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1700)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1639)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:759)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.
at org.apache.activemq.xbean.XBeanBrokerFactory$1.
at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:154)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)[activemq-console-5.13.0.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.apache.activemq.console.Main.runTaskClass(Main.java:262)[activemq.jar:5.13.0]
at org.apache.activemq.console.Main.main(Main.java:115)[activemq.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)[wrapper.jar:3.2.3]
at java.lang.Thread.run(Unknown Source)[:1.8.0]
2018-03-29 14:32:15,253 | WARN | Exception encountered during context initialization - cancelling refresh attempt | org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Invocation of init method failed; nested exception is java.io.IOException: Transport Connector could not be registered in JMX: java.io.IOException: Failed to bind to server socket: amqp://0.0.0.0:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1572)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:759)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.
at org.apache.activemq.xbean.XBeanBrokerFactory$1.
at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:154)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)[activemq-console-5.13.0.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.apache.activemq.console.Main.runTaskClass(Main.java:262)[activemq.jar:5.13.0]
at org.apache.activemq.console.Main.main(Main.java:115)[activemq.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)[wrapper.jar:3.2.3]
at java.lang.Thread.run(Unknown Source)[:1.8.0]
2018-03-29 14:34:51,556 | INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@6ccd73: startup date [Thu Mar 29 14:34:51 CST 2018]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain
2018-03-29 14:34:53,557 | INFO | PListStore:[F:\jar\apache-activemq-5.13.0\bin\win32\..\..\data\localhost\tmp_storage] started | org.apache.activemq.store.kahadb.plist.PListStoreImpl | WrapperSimpleAppMain
2018-03-29 14:34:53,641 | INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[F:\jar\apache-activemq-5.13.0\bin\win32\..\..\data\kahadb] | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:34:54,571 | INFO | KahaDB is version 6 | org.apache.activemq.store.kahadb.MessageDatabase | WrapperSimpleAppMain
2018-03-29 14:34:54,600 | INFO | Recovering from the journal @1:1097 | org.apache.activemq.store.kahadb.MessageDatabase | WrapperSimpleAppMain
2018-03-29 14:34:54,610 | INFO | Recovery replayed 1 operations from the journal in 0.03 seconds. | org.apache.activemq.store.kahadb.MessageDatabase | WrapperSimpleAppMain
2018-03-29 14:34:54,835 | INFO | Apache ActiveMQ 5.13.0 (localhost, ID:A6407000953-55738-1522305294693-0:1) is starting | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:34:54,870 | INFO | Listening for connections at: tcp://A6407000953:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600 | org.apache.activemq.transport.TransportServerThreadSupport | WrapperSimpleAppMain
2018-03-29 14:34:54,874 | INFO | Connector openwire started | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:34:54,883 | ERROR | Failed to start Apache ActiveMQ ([localhost, ID:A6407000953-55738-1522305294693-0:1], java.io.IOException: Transport Connector could not be registered in JMX: java.io.IOException: Failed to bind to server socket: amqp://0.0.0.0:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind) | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:34:54,888 | INFO | Apache ActiveMQ 5.13.0 (localhost, ID:A6407000953-55738-1522305294693-0:1) is shutting down | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:34:54,900 | INFO | Connector openwire stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:34:54,903 | INFO | Connector amqp stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:34:54,905 | INFO | Connector stomp stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:34:54,908 | INFO | Connector mqtt stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:34:54,910 | INFO | Connector ws stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2018-03-29 14:34:54,917 | INFO | PListStore:[F:\jar\apache-activemq-5.13.0\bin\win32\..\..\data\localhost\tmp_storage] stopped | org.apache.activemq.store.kahadb.plist.PListStoreImpl | WrapperSimpleAppMain
2018-03-29 14:34:54,920 | INFO | Stopping async queue tasks | org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
2018-03-29 14:34:54,922 | INFO | Stopping async topic tasks | org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
2018-03-29 14:34:54,925 | INFO | Stopped KahaDB | org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
2018-03-29 14:34:55,185 | INFO | Apache ActiveMQ 5.13.0 (localhost, ID:A6407000953-55738-1522305294693-0:1) uptime 1.576 seconds | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:34:55,187 | INFO | Apache ActiveMQ 5.13.0 (localhost, ID:A6407000953-55738-1522305294693-0:1) is shutdown | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2018-03-29 14:34:55,191 | INFO | Closing org.apache.activemq.xbean.XBeanBrokerFactory$1@6ccd73: startup date [Thu Mar 29 14:34:51 CST 2018]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain
2018-03-29 14:34:55,197 | WARN | Exception thrown from LifecycleProcessor on context close | org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.apache.activemq.xbean.XBeanBrokerFactory$1@6ccd73: startup date [Thu Mar 29 14:34:51 CST 2018]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:357)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:881)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:840)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.apache.activemq.hooks.SpringContextHook.run(SpringContextHook.java:30)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:853)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.xbean.XBeanBrokerService.stop(XBeanBrokerService.java:122)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerService.start(BrokerService.java:624)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:73)[activemq-spring-5.13.0.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1700)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1639)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:759)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.
at org.apache.activemq.xbean.XBeanBrokerFactory$1.
at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:154)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)[activemq-console-5.13.0.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.apache.activemq.console.Main.runTaskClass(Main.java:262)[activemq.jar:5.13.0]
at org.apache.activemq.console.Main.main(Main.java:115)[activemq.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)[wrapper.jar:3.2.3]
at java.lang.Thread.run(Unknown Source)[:1.8.0]
2018-03-29 14:34:55,311 | WARN | Exception encountered during context initialization - cancelling refresh attempt | org.apache.activemq.xbean.XBeanBrokerFactory$1 | WrapperSimpleAppMain
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Invocation of init method failed; nested exception is java.io.IOException: Transport Connector could not be registered in JMX: java.io.IOException: Failed to bind to server socket: amqp://0.0.0.0:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1572)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)[spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:759)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)[spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.
at org.apache.activemq.xbean.XBeanBrokerFactory$1.
at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)[activemq-spring-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)[activemq-broker-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:154)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)[activemq-console-5.13.0.jar:5.13.0]
at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)[activemq-console-5.13.0.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.apache.activemq.console.Main.runTaskClass(Main.java:262)[activemq.jar:5.13.0]
at org.apache.activemq.console.Main.main(Main.java:115)[activemq.jar:5.13.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.8.0]
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)[wrapper.jar:3.2.3]
at java.lang.Thread.run(Unknown Source)[:1.8.0]
解决方法:
找到apache-activemq-5.13.0\conf\activemq.xml配置文件,将0.0.0.0修改为本地IP(例如:127.0.0.1)
修改前:
修改后:
"openwire"
uri=
"tcp://127.0.0.1:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600"
/>
"amqp"
uri=
"amqp://127.0.0.1:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600"
/>
"stomp"
uri=
"stomp://127.0.0.1:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600"
/>
"mqtt"
uri=
"mqtt://127.0.0.1:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600"
/>
"ws"
uri=
"ws://127.0.0.1:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600"
/>