2013-01-09 70 views
0

我使用commons-deamon將ActiveMQ作爲服務安裝在Windows 2008 64位服務器上。ActiveMQ作爲服務啓動錯誤

當我嘗試啓動我得到這個錯誤的服務:

ACTIVEMQ_HOME: C:\apache-activemq-5.7.0 
ACTIVEMQ_BASE: C:\apache-activemq-5.7.0 
ACTIVEMQ_CONF: C:\apache-activemq-5.7.0\conf 
ACTIVEMQ_DATA: C:\apache-activemq-5.7.0\data 
Loading message broker from: xbean:activemq.xml 
INFO | Refreshing [email protected]: startup date [Wed Jan 09 16:45:52 IST 2013]; root of context hierarchy 
ERROR | Failed to load: class path resource [activemq.xml], reason: Could not load properties; nested exception is java.io.FileNotFoundException: ${activemq.conf}\credentials.properties (The system cannot find the path specified) 
org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: ${activemq.conf} \credentials.properties (The system cannot find the path specified) 

它就像它無法找到該文件

ACTIVEMQ_HOME\conf\credentials.properties

但該文件沒有我的文件夾中存在。

我是否需要手動定義環境變量或類似的東西?

謝謝!

回答