[Opensymphony-oscache] problem with caching
Lars Torunski <[email protected]> Tue, 12 Jul 2005 13:37:52 CDT
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <12901818.1121193502730.JavaMail.os-j2ee@opensymphony01.contegix.com> |
1) To avoid a deadlock scenario to have to add the try-finally clause in the catch NeedsRefreshException block, see http://wiki.opensymphony.com/display/CACHE/API+Usage 2) In generell you will get a NRE always, if you try to access a cache object which isn't in the cache yet. I think that you are getting the NRE with "cache.memory = true" too. --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=3825&messageID=10392#10392