Return-Path: Delivered-To: apmail-jakarta-turbine-jcs-user-archive@www.apache.org Received: (qmail 69194 invoked from network); 15 Jan 2004 01:30:53 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Jan 2004 01:30:53 -0000 Received: (qmail 15462 invoked by uid 500); 15 Jan 2004 01:30:36 -0000 Delivered-To: apmail-jakarta-turbine-jcs-user-archive@jakarta.apache.org Received: (qmail 15448 invoked by uid 500); 15 Jan 2004 01:30:36 -0000 Mailing-List: contact turbine-jcs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Turbine JCS Users List" Reply-To: "Turbine JCS Users List" Delivered-To: mailing list turbine-jcs-user@jakarta.apache.org Received: (qmail 15432 invoked from network); 15 Jan 2004 01:30:36 -0000 Received: from unknown (HELO hutch.nm.com) (203.103.221.38) by daedalus.apache.org with SMTP; 15 Jan 2004 01:30:36 -0000 Received: from c2.nm.com.au (unverified) by hutch.nm.com (Content Technologies SMTPRS 4.2.5) with ESMTP id for ; Thu, 15 Jan 2004 12:35:28 +1100 MIME-Version: 1.0 Sensitivity: To: "Turbine JCS Users List" Subject: Indexed Disk Cache Configuration X-Mailer: Lotus Notes Release 5.0.12 February 13, 2003 Message-ID: From: ankur.kumar@axa.com.au Date: Thu, 15 Jan 2004 12:30:31 +1100 X-MIMETrack: Serialize by Router on ELAN-MEL/AU/NMHDMZ(Release 5.0.11 |July 24, 2002) at 01/15/2004 12:16:37 PM, Serialize complete at 01/15/2004 12:16:37 PM Content-Type: multipart/alternative; boundary="=_alternative 00084A57CA256E1C_=" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=_alternative 00084A57CA256E1C_= Content-Type: text/plain; charset="us-ascii" I gotta use indexed disk caching and below is cache.ccf settings. When I restart my server, it gives following exception: [INFO] CompositeCache - -Constructed cache with name: eplatform_disk_cache [INFO] IndexedDiskCache - -Cache file root directory: c:\tmp [WARN] IndexedDisk - -Failed to delete eplatform_disk_cache.data 0 [WARN] IndexedDisk - -Failed to delete eplatform_disk_cache.data 1 [WARN] IndexedDisk - -Failed to delete eplatform_disk_cache.data 2 [WARN] IndexedDisk - -Failed to delete eplatform_disk_cache.data 3 [WARN] IndexedDisk - -Failed to delete eplatform_disk_cache.data 4 [WARN] IndexedDisk - -Failed to delete eplatform_disk_cache.data 5 [WARN] IndexedDisk - -Failed to delete eplatform_disk_cache.data 6 [WARN] IndexedDisk - -Failed to delete eplatform_disk_cache.data 7 [WARN] IndexedDisk - -Failed to delete eplatform_disk_cache.data 8 [WARN] IndexedDisk - -Failed to delete eplatform_disk_cache.data 9 [ERROR] IndexedDisk - -java.lang.IllegalStateException: Failed to delete eplatform_disk_cache.data [ERROR] IndexedDiskCache - -Failure initializing for fileName: eplatform_disk_cache and root directory: c:\tmp java.lang.IllegalStateException: Failed to delete ep latform_disk_cache.data at org.apache.jcs.auxiliary.disk.indexed.IndexedDisk.reset(IndexedDisk.java:316) at org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.(IndexedDiskCache.java:155) at org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheManager.getCache(IndexedDiskCacheManager.java:174) at org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory.createCache(IndexedDiskCacheFactory.java:88) at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseAuxiliary(CompositeCacheConfigurator.java:451) at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:297) at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:234) at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegions(CompositeCacheConfigurator.java:222) at org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure(CompositeCacheConfigurator.java:148) at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:244) at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:227) at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:185) at org.apache.jcs.engine.control.CompositeCacheManager.getInstance(CompositeCacheManager.java:130) at org.apache.jcs.JCS.ensureCacheManager(JCS.java:135) at org.apache.jcs.JCS.getInstance(JCS.java:101) at com.axa.eplatform.util.ecache.jcache.JCache.getCacheForRegion(JCache.java:44) at com.axa.eplatform.util.ecache.jcache.JCache.get(JCache.java:76) at jsp_servlet._util.__cache._jspService(__cache.java:92) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058) cache.ccf # Disk Cache jcs.region.eplatform_disk_cache=DC jcs.region.eplatform_disk_cache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes # object will not be held in memory, straight to disk jcs.region.eplatform_disk_cache.cacheattributes.MaxObjects=0 #jcs.region.eplatform_disk_cache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache #jcs.region.eplatform_disk_cache.cacheattributes.UseMemoryShrinker=true #jcs.region.eplatform_disk_cache.cacheattributes.MaxMemoryIdleTimeSeconds=30 #jcs.region.eplatform_disk_cache.cacheattributes.ShrinkerIntervalSeconds=60 jcs.region.eplatform_disk_cache.elementattributes=org.apache.jcs.engine.ElementAttributes jcs.region.eplatform_disk_cache.elementattributes.IsEternal=true #jcs.region.eplatform_disk_cache.elementattributes.MaxLifeSeconds=5 jcs.region.eplatform_disk_cache.elementattributes.IdleTime=1 jcs.region.eplatform_disk_cache.elementattributes.IsSpool=true jcs.region.eplatform_disk_cache.elementattributes.IsRemote=false jcs.region.eplatform_disk_cache.elementattributes.IsLateral=false # Primary Disk Cache -- faster than the rest because of memory key storage 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=c:\\tmp ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA. Thank you. ********************************************************************************* --=_alternative 00084A57CA256E1C_=--