jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Smuts <asm...@yahoo.com>
Subject Re: Failure reseting state
Date Thu, 02 Feb 2006 01:25:22 GMT
Are you getting any errors on startup?  Do you see the swap files in the directory (target/cache)?

Aaron

----- Original Message ----
From: chamesh rajasekhara <chamesh@hotmail.com>
To: jcs-users@jakarta.apache.org
Sent: Tuesday, January 31, 2006 05:28:19 PM
Subject: Failure reseting state

Hi:

I am using JCS 1.2.6, getting Failure reseting state error, any idea what 
might be the problem

Error detail:
2006-01-31 14:38:39,308 [Ajp13Processor[8009][87]] ERROR 
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache - 
java.lang.NullPointerException
2006-01-31 14:38:39,309 [Ajp13Processor[8009][87]] ERROR 
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache - Failure reseting 
state
java.lang.NullPointerException
    at 
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.reset(IndexedDiskCache.java:502)
    at 
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.doRemove(IndexedDiskCache.java:461)
    at 
org.apache.jcs.auxiliary.disk.AbstractDiskCache.remove(AbstractDiskCache.java:274)
    at 
org.apache.jcs.engine.control.CompositeCache.remove(CompositeCache.java:760)
    at 
org.apache.jcs.engine.control.CompositeCache.remove(CompositeCache.java:690)
    at org.apache.jcs.access.CacheAccess.remove(CacheAccess.java:373)
    at 
common.caching.impl.manager.BasicCacheManager.removeCacheObject(BasicCacheManager.java:512)
....

my cache.ccf looks like

# DEFAULT CACHE REGION

# sets the default aux value for any non configured caches
jcs.default=
jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=100
jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.default.elementattributes.IsEternal=false
jcs.default.elementattributes.MaxLifeSeconds=600
jcs.default.elementattributes.IdleTime=1
jcs.default.elementattributes.IsSpool=true
jcs.default.elementattributes.IsRemote=false
jcs.default.elementattributes.IsLateral=true
jcs.default.cacheattributes.UseMemoryShrinker=true
jcs.default.cacheattributes.ShrinkerIntervalSeconds=300

# SYSTEM CACHE

# should be defined for the storage of group attribute list
jcs.system.groupIdCache=
jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.system.groupIdCache.cacheattributes.MaxObjects=10000
jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache


jcs.region.quotePolicyDetailCache=DC2
jcs.region.quotePolicyDetailCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.quotePolicyDetailCache.cacheattributes.MaxObjects=500
jcs.region.quotePolicyDetailCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.quotePolicyDetailCache.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.quotePolicyDetailCache.elementattributes.IsEternal=false
jcs.region.quotePolicyDetailCache.elementattributes.MaxLifeSeconds=1200
jcs.region.quotePolicyDetailCache.elementattributes.IdleTime=1
jcs.region.quotePolicyDetailCache.elementattributes.IsSpool=true
jcs.region.quotePolicyDetailCache.elementattributes.IsRemote=true
jcs.region.quotePolicyDetailCache.elementattributes.IsLateral=true



# AUXILIARY CACHE
jcs.auxiliary.DC2=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
jcs.auxiliary.DC2.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
jcs.auxiliary.DC2.attributes.DiskPath=target/cache
jcs.auxiliary.DC2.attributes.MaxPurgatorySize=10000
jcs.auxiliary.DC2.attributes.MaxKeySize=10000
jcs.auxiliary.DC2.attributes.MaxRecycleBinSize=5000
jcs.auxiliary.DC2.attributes.OptimizeAtRemoveCount=300000
jcs.auxiliary.DC2.attributes.EventQueueType=POOLED
jcs.auxiliary.DC2.attributes.EventQueuePoolName=disk_cache_event_queue

# AUXILIARY DISK CACHE POOL
thread_pool.disk_cache_event_queue.useBoundary=true
thread_pool.disk_cache_event_queue.boundarySize=50
thread_pool.disk_cache_event_queue.maximumPoolSize=10
thread_pool.disk_cache_event_queue.minimumPoolSize=1
thread_pool.disk_cache_event_queue.keepAliveTime=3500
thread_pool.disk_cache_event_queue.startUpSize=1
thread_pool.disk_cache_event_queue.whenBlockedPolicy=RUN

Thanks in advance!
Chamesh Rajasekhara



---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message