[Opensymphony-oscache] Error in mass concurrence!

Chris Miller <[email protected]>
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <14044340.1113459753829.JavaMail.os-j2ee@opensymphony01.contegix.com>
It sounds like your code is calling cache.cancelUpdate() on a cache entry that is not currently being updated. Are you sure you're handling the NeedsRefreshException correctly? Show us the code you are using to call cancelUpdate() and hopefully we can point out the problem.


> java.lang.IllegalStateException: Cannot cancel cache
> update - current state (-1) is not UPDATE_IN_PROGRESS
> at
> t
> com.opensymphony.oscache.base.EntryUpdateState.cancelU
> pdate(EntryUpdateState.java:83)
> at
> t
> com.opensymphony.oscache.base.Cache.cancelUpdate(Cache
> .java:389)

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=1556&messageID=4748#4748
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.