1. 程式人生 > >activemq-5.10本地執行demo

activemq-5.10本地執行demo

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" 服務關閉即可。