Jetspeed 2
  1. Jetspeed 2
  2. JS2-641

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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
        Enrique Ruiz (DiSiD Technologies 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
        Enrique Ruiz (DiSiD Technologies 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>
        Hide
        Ate Douma added a comment -

        Done

        Show
        Ate Douma added a comment - Done

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development