Uploaded image for project: 'Jetspeed 2'
  1. Jetspeed 2
  2. JS2-641

override.properties isn't loaded by the bean 'placeholderConfig'

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-dev
    • Fix Version/s: 2.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux (ubuntu 6.06), JDK 1.5, PostgreSQL

      Description

      The jetspeed.properties file is used to configure the placeholders located in the Spring context. The override.properties file is used to override settings located in the jetspeed.properties but it isn't loaded by the bean ''placeholderConfig''.

        Activity

        Hide
        adouma Ate Douma added a comment -

        Done

        Show
        adouma Ate Douma added a comment - Done
        Hide
        eruiz Enrique Ruiz (DiSiD Corporation S.L.) added a comment -

        The current definition of the bean 'placeholderConfig':

        <bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="location">
        <value>file:///$

        {applicationRoot}/WEB-INF/conf/jetspeed.properties</value>
        </property>
        </bean>

        May be changed by the following definition:

        <bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="locations">
        <list>
        <value>file:///${applicationRoot}

        /WEB-INF/conf/jetspeed.properties</value>
        <value>file:///$

        {applicationRoot}

        /WEB-INF/conf/override.properties</value>
        </list>
        </property>
        </bean>

        Show
        eruiz Enrique Ruiz (DiSiD Corporation S.L.) added a comment - The current definition of the bean 'placeholderConfig': <bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="location"> <value> file:///$ {applicationRoot}/WEB-INF/conf/jetspeed.properties</value> </property> </bean> May be changed by the following definition: <bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="locations"> <list> <value> file:///$ {applicationRoot} /WEB-INF/conf/jetspeed.properties</value> <value> file:///$ {applicationRoot} /WEB-INF/conf/override.properties</value> </list> </property> </bean>

          People

          • Assignee:
            adouma Ate Douma
            Reporter:
            eruiz Enrique Ruiz (DiSiD Corporation S.L.)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development