Announcement Announcement Module
Collapse
No announcement yet.
ReloadableResourceBundleMessageSource not able to read proeprties file from hardcoded Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ReloadableResourceBundleMessageSource not able to read proeprties file from hardcoded

    Hi,
    We are using RAD 7.5 for development purpose on windows environment and we are usign spring 3.x.
    I want to keep the properties file outside the WAR file so that I can change the values at run time without server restart.

    For doing a small POC I did the following.
    1) Created test.properties file in c:/temp folder.
    2) hardcoded the path as shown below.

    But issue is that spring is not able to read the properties file.

    Can anyone let me know what actually the issue is.?


    <bean id="globalSettings" class="org.springframework.context.support.Reloada bleResourceBundleMessageSource">
    <property name="basenames">
    <list>
    <value>file://c:/temp/test</value>
    </list>
    </property>
    <property name="cacheSeconds" value="1" />

  • #2
    ReloadableResourceBundleMessageSource not able to read proeprties file from hardcoded

    I have closed the bean tag..
    </bean>

    Comment


    • #3
      ReloadableResourceBundleMessageSource not able to read proeprties file from hardcoded

      Can anybody help in this.. i am completely stuck

      Comment

      Working...
      X