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

        Ate Douma made changes -
        Fix Version/s 2.1 [ 12310617 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Hide
        Ate Douma added a comment -

        Done

        Show
        Ate Douma added a comment - Done
        Ate Douma made changes -
        Field Original Value New Value
        Assignee Ate Douma [ adouma ]
        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>
        Enrique Ruiz (DiSiD Technologies S.L.) created issue -

          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