Jessy created AMQ-4193:
--------------------------

             Summary: : Unable to load custom properties from 
credentials.properties file located in conf folder of ActiveMQ installation 
directory
                 Key: AMQ-4193
                 URL: https://issues.apache.org/jira/browse/AMQ-4193
             Project: ActiveMQ
          Issue Type: Bug
          Components: activemq-pool, Connector
    Affects Versions: 5.5.1
         Environment: I have ActiveMQ Version 5.5.1 installed on my linux[RHEL] 
box.
            Reporter: Jessy
            Priority: Critical


Hi Developers,

I basically wanted to read some custom properties from a credentials.property 
file located in conf folder of AMQ installation directory 
[/opt/apache/installed/activemq55-5.5.1/conf]

Steps :
1. I put my custom entries in credentials.properties file , with the details 
of,say a given Datasource. 
2. Given PropertyPlaceholderConfigurer bean configurations in my activemq-jdbc. 
xml.
3. I have imported "activemq-jdbc. xml" in my activemq.xml 
file[/opt/apache/installed/activemq55-5.5.1/conf]
4.When I startup activeMQ , it fails to startup. Also, I am not able to see the 
JDBC related tables being created, because it failed to startup.
5.If I give values directly instead of reading from "credentials.properties", 
AMQ starts up successfuuly and I am able to see the Tables namely 
"ACTIVEMQ_MSGS,ACTIVEMQ_LOCK,ACTIVEMQ_ACKS" being created in my datasource.

Please find attached the files. This looks like a bug to me. If not,kindly let 
me know the workaround for the same.

Regards
Jessy


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to