Apache Java Caching System - configuring issues with the cache file



Hi,
I am not able to read the configuration file while trying out the
latest release (1.3) of Apache Jakarta JCS. Here is a snippet of my
code followed by the stack trace. I am running under JDK 1.5.0_06.

JCS.setConfigFilename("D:/projects/java/jcsExample/config/
jcsCache.ccf");
libBookCache = JCS.getInstance("bookCache");

Exception in thread "main" java.lang.IllegalStateException: Failed to
load properties for name [file:/D:/projects/java/jcsExample/config/
jcsCache.ccf]
at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:
242)
at org.apache.jcs.JCS.ensureCacheManager(JCS.java:102)
at org.apache.jcs.JCS.getInstance(JCS.java:64)
at
com.genericbookstore.data.BookVObjManager.<init>(BookVObjManager.java:
19)
at
com.genericbookstore.jcsProcess.LoadReferenceData.main(LoadReferenceData.java:
43)

The jcsCache file has bookCache defined as follows in addition to the
default


jcs.region.bookCache=DC,LTCP
jcs.region.bookCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.bookCache.cacheattributes.MaxObjects=1000
jcs.region.bookCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.bookCache.cacheattributes.UseMemoryShrinker=true
jcs.region.bookCache.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.bookCache.cacheattributes.ShrinkerIntervalSeconds=60
jcs.region.bookCache.cacheattributes.MaxSpoolPerRun=500
jcs.region.bookCache.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.bookCache.elementattributes.IsEternal=false

Any help appreciated.

Regards,
z1hou1

.