[jboss-user] [JBossCache] - Re: Apparently losing data

2007-06-27 Thread genman
anonymous wrote : | This seems to work well BUT sometimes the mechanism seems to break and no more work until the AS (in my case JBoss) is shutdown and restarted. The problem is that the data is put into the cache but when retrieved it is NULL. No errors were reported, simply the data seems

[jboss-user] [JBossCache] - Re: Apparently losing data

2007-06-27 Thread uuderzo
anonymous wrote : So, you mean that calls to TreeCache.put(x,y); stop working? How do you know this? I don't mean that those calls stop working, but something starts going wrong. I try to explain better the flow of data in tree cache: 1. User logon = TreeCache.put( x, y ), where x is the

[jboss-user] [JBossCache] - Re: Apparently losing data

2007-06-27 Thread genman
If there is no eviction policy, then regardless of the cache loader configuration, all the cache data is kept in memory. Now, the data might fail to be stored using a put(). I would suggest creating a separate log4j appender that captures all the debug logs for org.jboss.cache, that rolls over