Hi Aaron, Yes, It happens only at startup. I guess it may be because JCS in multiple JVM are using the same disk path.
--- "Smuts, Aaron" <[EMAIL PROTECTED]> wrote: > It looks like it is trying to remove the old data > file on startup. It > is probably trying to do this because the key file > is empty or > corrupted. Or it didn't have permission to create > the directory or > delete the file. > > You are only seeing this on startup, right? > > > -----Original Message----- > > From: Robin Sharma [mailto:[EMAIL PROTECTED] > > Sent: Thursday, February 09, 2006 2:26 PM > > To: jcs-users@jakarta.apache.org > > Subject: Failed to delete IndexedDisk cache. > > > > Hi, > > When using JCS I occasionally get the following > > Exception in the log. What might be the cause and > how > > it can be prevented. > > > > Thanks, > > Robin > > > > 07 Nov 2005 20:19:22 9062 ERROR [main] > > indexed.IndexedDisk - > > java.lang.IllegalStateException: Failed to delete > > myCache.data 07 Nov > > 2005 20:19:22 9077 ERROR [main] > > indexed.IndexedDiskCache - Failure > > initializing for fileName: myCache and root > directory: > > > > C:\cache java.lang.IllegalStateException: Failed > to > > delete myCache.data > > at > > > org.apache.jcs.auxiliary.disk.indexed.IndexedDisk.reset > > (IndexedDisk.java:317) > > at > > > org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.<init> > > (IndexedDiskCache.java:155) > > at > > > org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheManager.getCache > > (IndexedDiskCacheManager.java:175) > > at > > > org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory.createCach > e > > (IndexedDiskCacheFactory.java:88) > > at > > > org.apache.jcs.engine.control.CompositeCacheConfigurator.parseAuxiliary > > (CompositeCacheConfigurator.java:397) > > at > > > org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion > > (CompositeCacheConfigurator.java:243) > > at > > > org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion > > (CompositeCacheConfigurator.java:180) > > at > > > org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegions > > (CompositeCacheConfigurator.java:168) > > at > > > org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure > > (CompositeCacheConfigurator.java:94) > > at > > > org.apache.jcs.engine.control.CompositeCacheManager.configure > > (CompositeCacheManager.java:190) > > at > > > org.apache.jcs.engine.control.CompositeCacheManager.configure > > (CompositeCacheManager.java:173) > > at > > > org.apache.jcs.engine.control.CompositeCacheManager.configure > > (CompositeCacheManager.java:131) > > at > > > org.apache.jcs.engine.control.CompositeCacheManager.getInstance > > (CompositeCacheManager.java:76) > > at > > > org.apache.jcs.JCS.ensureCacheManager(JCS.java:135) > > at org.apache.jcs.JCS.getInstance(JCS.java:101) > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]