Uploaded image for project: 'MyFaces Orchestra'
  1. MyFaces Orchestra
  2. ORCHESTRA-3

PropertyPlaceholderConfigurer STOPS working after the introduction of orchestra into my configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Conversation
    • None
    • xp, spring 2.0.6, jsf-1.2 ri

    Description

      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

      Attachments

        Activity

          People

            imario Mario Ivankovits
            danttran Dan Tran
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: