Here's the cache config:
################################################################## # Default settings # http://jakarta.apache.org/jcs/index.html # http://www.jroller.com/page/aspinei/?anchor=jcs_the_good_the_bad ################################################################## jcs.default=DC # cache compression # 0 - OFF # 1 - Best performance # 9 - Best compression interwoven.cachemanager.compression=0 # mem cache settings jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttribut es jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory .lru.LRUMemoryCache jcs.default.cacheattributes.UseMemoryShrinker=true jcs.default.cacheattributes.ShrinkerIntervalSeconds=300 jcs.default.cacheattributes.MaxSpoolPerRun=500 jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600 # element attributes jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes jcs.default.elementattributes.MaxLifeSeconds=-1 jcs.default.elementattributes.IdleTime=1800 jcs.default.elementattributes.IsEternal=false jcs.default.elementattributes.IsSpool=true jcs.default.elementattributes.IsRemote=false jcs.default.elementattributes.IsLateral=false ################################################################## # Page settings ################################################################## jcs.region.page=DC # mem cache settings jcs.region.page.cacheattributes.MaxObjects=500 ################################################################## # Component settings ################################################################## jcs.region.component=DC # mem cache settings jcs.region.component.cacheattributes.MaxObjects=500 ################################################################## # disk cache attribs ################################################################## #jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache Factory #jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.Index edDiskCacheAttributes #jcs.auxiliary.DC.attributes.MaxPurgatorySize=10000 #jcs.auxiliary.DC.attributes.MaxKeySize=10240 #jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=1000 #jcs.auxiliary.DC.attributes.OptimizeOnShutdown=true #jcs.auxiliary.DC.attributes.MaxRecycleBinSize=10000 ################################################################## # disk cache attribs [Block disk cache settings] ################################################################## jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.block.BlockDiskCacheFacto ry jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.block.BlockDis kCacheAttributes jcs.auxiliary.DC.attributes.MaxPurgatorySize=10000 jcs.auxiliary.DC.attributes.MaxKeySize=10240 jcs.auxiliary.DC.attributes.blockSizeBytes=1024 ________________________________ From: Tim Cronin [mailto:tim.cro...@autonomy.com] Sent: Tuesday, August 11, 2009 11:06 AM To: jcs-users@jakarta.apache.org Subject: error using block disk cache We just moved from index to disk, using 1.3.3.3RC (see attached configuration file). We are getting the following error: [8/11/09 8:49:49:969 BST] 00000042 SystemOut O 08:49:49,968 ERROR [BlockDiskCache] Region [component] Failure updating element, key: investor:research-funds/fund-supermarket/factsheet/newlocalfactsheet:Pri mary:en-GB:1239855333385:1:hNvdABDjSIp7U7czi+DCuA== old: null java.lang.ArrayIndexOutOfBoundsException: -128 at org.apache.jcs.auxiliary.disk.block.BlockDisk.write(BlockDisk.java:199) at org.apache.jcs.auxiliary.disk.block.BlockDiskCache.processUpdate(BlockDi skCache.java:383) at org.apache.jcs.auxiliary.AbstractAuxiliaryCacheEventLogging.updateWithEv entLogging(AbstractAuxiliaryCacheEventLogging.java:48) at org.apache.jcs.auxiliary.disk.AbstractDiskCache.doUpdate(AbstractDiskCac he.java:828) at org.apache.jcs.auxiliary.disk.AbstractDiskCache$MyCacheListener.handlePu t(AbstractDiskCache.java:685) at org.apache.jcs.engine.CacheEventQueue$PutEvent.doRun(CacheEventQueue.jav a:704) at org.apache.jcs.engine.CacheEventQueue$AbstractCacheEvent.run(CacheEventQ ueue.java:623) at org.apache.jcs.engine.CacheEventQueue$QProcessor.run(CacheEventQueue.jav a:591)