I'm having trouble with a JCS thread hanging when we shutdown our tomcat server.
Full thread dump Java HotSpot(TM) Client VM (11.0-b15 mixed mode, sharing): "DestroyJavaVM" prio=10 tid=0xb4ba2400 nid=0x2888 waiting on condition [0x00000000..0xb7e7c070] java.lang.Thread.State: RUNNABLE "Thread-71" prio=10 tid=0xb51a2000 nid=0x2933 sleeping[0xb4afe000..0xb4afedb0] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleep(Native Method) at org.apache.jcs.auxiliary.disk.AbstractDiskCache$1.run(AbstractDiskCache.java:404) at java.lang.Thread.run(Thread.java:619) .... This is my auxillary cache config: jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes jcs.auxiliary.DC.attributes.DiskPath=/jcs jcs.auxiliary.DC.attributes.MaxPurgatorySize=500000 jcs.auxiliary.DC.attributes.MaxKeySize=500000 jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=300000 jcs.auxiliary.DC.attributes.MaxRecycleBinSize=7500 jcs.auxiliary.DC.attributes.OptimizeOnShutdown=false We are calling: CompositeCacheManager.getInstance().shutDown(); in the contextDestroyed method of our ContextListener. (webapp) Any ideas or suggestions? I'll be glad to give you more info if needed. Thanks!