win7下从官网下载了apache-activemq-5.10.0-bin.zip,按照步骤启动activemq碰到以下两个问题:
1、Exception thrown from LifecycleProcessor on context close | org.apache.activemq.xbean.XBeanBrokerFactory$1 | main
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context
----------解决办法:重命名计算机名。我的是“xx-pc”, “-”导致了该错误。
2、Failed to bind to server socket: tcp://0.0.0.0:61616
----------端口被占用,但用netstat命令找不到对应的进程,把 “internet connection sharing" 服务关闭即可。