title: JCS failed to load properties
body: <p>I am using <code>JCS</code> for Caching purposes. I have implemented this on my PC where it works fine but on our Tomcat server as well as on my colleagues PC the error <code>Failed to load properties for name [/cache.ccf]</code> appears.</p>
  
  <p>The jar file has been installed correctly and the <code>cache.ccf</code> file is in the same location as on my PC so I don't understand why it succeeds for me and fails otherwise.</p>
  
  <p>The code I'm using to obtain an instance of the JCS cache is:</p>
  
  <pre><code>JCS.setConfigFilename("/cache.ccf");
  printOddsCache = JCS.getInstance(PRINTODDSCACHE_REGION_NAME);
  </code></pre>
  
  <p>The cache.ccf file contains the following:</p>
  
  <pre><code>jcs.default=
  jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
  jcs.default.cacheattributes.MaxObjects=200001
  jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
  jcs.default.cacheattributes.UseMemoryShrinker=true
  jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
  jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
  jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
  jcs.default.elementattributes.IsEternal=false
  </code></pre>
  
  <p>*SOLUTION EDIT
  I rewrote the cache.ccf from scratch and it seems to be working without any error now.</p>