Activemq startup problem win7 system

quote

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@3f1b7a14: startup date [Tue Aug 16 16:00:10 CST 2016]; root of context hierarchy 
    at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:360)[spring-context-3.2.11.RELEASE.jar:3.2.11.RELEASE] 
    at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1059)[spring-context-3.2.11.RELEASE.jar:3.2.11.RELEASE] 
    at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1012)[spring-context-3.2.11.RELEASE.jar:3.2.11.RELEASE] 
    at org.apache.activemq.hooks.SpringContextHook.run(SpringContextHook.java:30)[activemq-spring-5.11.1.jar:5.11.1] 
    at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:826)[activemq-broker-5.11.1.jar:5.11.1] 
    at org.apache.activemq.xbean.XBeanBrokerService.stop(XBeanBrokerService.java:122)[activemq-spring-5.11.1.jar:5.11.1] 
    at org.apache.activemq.broker.BrokerService.start(BrokerService.java:612)[activemq-broker-5.11.1.jar:5.11.1] 
  


Solution:
1. Confirm that the computer host name is not underlined; (if there is, please remove the underscore, this problem may occur in linux and windows)
2. If it is win7, stop the ICS service, and enter services.msc in cmd to find Internet Connection Sharing ( ICS) service, stop the service, and change to manual start or disable

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326332407&siteId=291194637