1

commons-deamonを使用して、ActiveMQをサービスとしてWindows200864ビットサーバーにインストールしました。

サービスを開始しようとすると、次のエラーが発生します。

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 に答える