I raised Jira issue for this (
https://issues.apache.org/activemq/browse/AMQ-2036) and will investigate it
shortly.


Cheers
--
Dejan Bosanac

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Tue, Dec 16, 2008 at 6:07 PM, Felix Knecht <fe...@otego.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all
>
> I downloaded latest version (5.2.0) and put my configuration files
> (activemq.xml, credentials.properties) into the conf
> directory. Starting the app using bin/activemq works well and my properties
> are replaced. But starting the daemon
> wrapper using bin/linux-x86-32/activemq start my properties file isn't
> found in the conf directory. Is there a special
> configuration to use when starting the wrapper?
>
> credentials.properties is in /tmp/apache-activemq-5.2.0/conf
>
> /tmp/apache-activemq-5.2.0/conf/activemq.xml
> <snip>
> <bean
> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
>  <property name="locations">
>    <value>file:///${activemq.base}/conf/credentials.properties</value>
>  </property>
> </bean>
> </snip>
>
> Starting the wrapper throws following exception:
> INFO   | jvm 1    | 2008/12/16 18:05:16 | java.lang.RuntimeException:
> Failed to execute start task. Reason:
> org.springframework.beans.factory.BeanInitializationException: Could not
> load properties; nested exception is
> java.io.FileNotFoundException: /../../conf/credentials.properties (No such
> file or directory)
>
>
> Thanks for help and regards
> Felix
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAklH4GcACgkQ2lZVCB08qHG5EQCgiH3UnsEpvL90g6Qf6e/mQrS5
> /aIAoIk3AthxjahbHXPbDT2G5yMVCCRs
> =q81r
> -----END PGP SIGNATURE-----
>

Reply via email to