In my daoContext.xml I specified a propertyPlaceholderConfigurer
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.Pr opertyPlaceholderConfigurer">
and some db connection properties, for example:
<bean id="DataSource" class="org.apache.commons.dbcp.BasicDataSource">
my app.properties file has matching values:
There are no startup errors related to locating the properties file but the first attempt to access the db indicates that the connection parameters are wrong or misssing:
DBCP borrowObject failed: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
I know the connection parameters are correct in the properties file because I am moving from Ant property placeholder replacement via filtering to the Spring way of doing things.
I don't know where to go from here in trying to determine what went wrong. Is there a way to debug the process of replacing placeholders?
Thanks for any guidance,