jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smuts, Aaron" <Aaron.Sm...@travelocity.com>
Subject RE: Failed to delete IndexedDisk cache.
Date Thu, 09 Feb 2006 22:27:48 GMT
Yes.  That will not work!  You need a separate disk cache directory for
each vm.  

Aaron

> -----Original Message-----
> From: Robin Sharma [mailto:preska2000@yahoo.com]
> Sent: Thursday, February 09, 2006 4:29 PM
> To: JCS Users List
> Subject: RE: Failed to delete IndexedDisk cache.
> 
> 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" <Aaron.Smuts@travelocity.com>
> 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:preska2000@yahoo.com]
> > > 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:
> > 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
> >
> >
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> ---------------------------------------------------------------------
> 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