PropertyPlaceholderConfigurer STOPS working after the introduction of orchestra
into my configuration
------------------------------------------------------------------------------------------------------
Key: ORCHESTRA-3
URL: https://issues.apache.org/jira/browse/ORCHESTRA-3
Project: MyFaces Orchestra
Issue Type: Bug
Components: Conversation
Environment: xp, spring 2.0.6, jsf-1.2 ri
Reporter: Dan Tran
Here is my configuration, any thoughts? or can some one confirm this?
<!-- Configurer that replaces ${...} placeholders with values from a properties
file -->
<!-- (in this case, JDBC-related settings for the dataSource definition below)
-->
<!-- THIS STOPS WORKING SINCE INTRODUCTION OF ORCHESTRA BEANS -->
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="/WEB-INF/jdbc-hsqldb.properties"/>
</bean>
<!-- EL expression is not translated -->
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="${jdbc.driverClassName}"/>
<property name="url" value="${jdbc.url}"/>
<property name="username" value="${jdbc.username}"/>
<property name="password" value="${jdbc.password}"/>
</bean>
The error is
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver
class '${jdbc.driverClassName}'
It is producable using orchestra example
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.