1

我使用 commons-deamon 在 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 org.apache.activemq.xbean.XBeanBrokerFactory$1@17494c8: 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

但该文件确实存在于我的文件夹中。

我需要手动定义环境变量或类似的东西吗?

谢谢!

4

1 回答 1

2

v5.7.0 存档中缺少一些文件。您可以简单地从旧版本中复制它们。请参阅:此问题的 Jira 问题

于 2013-01-09T21:20:23.823 回答