title: Spring context property-placholder ehcahe configuration
body: <p>I have a spring context xml file with this</p>
  
  <pre><code>&lt;context:property-placeholder location="classpath:cacheConfig.properties"/&gt;
  
  &lt;bean id="cacheManager"
      class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"&gt;
      &lt;property name="cacheManagerName" value="cacheName"/&gt;
      &lt;property name="shared" value="false"/&gt;
      &lt;property name="configLocation" value="classpath:cacheConfig.xml"/&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>the goal is to allow the customer to edit the properties file, like this</p>
  
  <pre><code>cache.maxMemoryElements="2000"
  </code></pre>
  
  <p>and then in the actual cacheConfig.xml file have this</p>
  
  <pre><code>&lt;cache name="someCacheName"
     maxElementsInMemory="${cache.maxMemoryElements}" ... /&gt;
  </code></pre>
  
  <p>so that items we do not want the customer to change are not exposed.  Of course the above details are only partially detailed and NOT working.  Currently I see this in the log file</p>
  
  <pre><code>Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Error configuring from input stream. Initial cause was null:149: Could not set attribute "maxElementsInMemory".
  </code></pre>
  
  <p>Thanks in advance...</p>