[Opensymphony-oscache] problem with caching

nospor <[email protected]> Fri, 01 Jul 2005 08:24:06 CDT
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <12498585.1120224277040.JavaMail.os-j2ee@opensymphony01.contegix.com>
I have this configuration:
cache.memory = true
cache.algorithm = com.opensymphony.oscache.base.algorithm.LRUCache
cache.blocking = false
cache.persistence.class = com.opensymphony.oscache.plugins.diskpersistence.HashDiskPersistenceListener
cache.path=d:\\oscache
cache.persistence.overflow.only = true
cache.unlimited.disk = true

everthing is ok. it creates cache files in d:\\oscache. I gets what I want from cache. Is OK.

whene i change in configuration: cache.memory = false then is not OK.
It also creates cache files in d:\\oscache, but when i'm trying to get sth from cache, then i get exception NeedsRefreshException. What's wrong? 
Do I have to cache in memory necessarily? But if I don't want to?

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