title: How to use remote location property file in spring re loadable message resource in java
body: <p>I have distributed system with 8 app servers running tomcat on it. It is a spring application. I want to use a property file which will located on some others server an all tomcat will read it from there only.
  I am using ReloadableResourceBundleMessageSource to use auto refreshing feature.
  My bean definition is </p>
  
  <pre><code>&lt;bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource"&gt;  
            &lt;property name="basenames" &gt;
              &lt;list&gt;
                  &lt;value&gt;file:///192.168.1.10//var/rateLimit&lt;/value&gt; 
               &lt;/list&gt;
          &lt;/property&gt;
          &lt;property name="cacheSeconds" value="60"&gt;&lt;/property&gt;  
  &lt;/bean&gt;  
  </code></pre>
  
  <p>and I am calling property like this</p>
  
  <pre><code>System.out.println(messageSource.getMessage("testProp", null, null));
  </code></pre>
  
  <p>I could not load file using this ip address.</p>
  
  <p>Could you please help me on this.</p>