[Opensymphony-oscache] not able to delete and getting needeRefresh exception urgent

shyam <[email protected]> Tue, 21 Jun 2005 08:23:49 CDT
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <23044789.1119360276101.JavaMail.os-j2ee@opensymphony01.contegix.com>
hi All,
       I'm using disk persistance cahing to cache my object.I'm able to cache i'm caching the object as the sessionId name for a particular session. sometimes when i tried to use it it is gicing me needs refresh exception. can any body help me out. When i ran the same code in the tomcat on windows it is working fine. what may be problem?
And i'm not able to delete the file in the linux machine.The code i'm using is

GeneralCacheAdministrator admin = ETSCacheAdminstrator.getCacheAdminstrator();
            admin.flushEntry(ETSCacheAdminstrator.strSessionId+"Trades");
            admin.getCache().getPersistenceListener().remove(ETSCacheAdminstrator.strSessionId+"Trades");

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=3558&messageID=9022#9022