[JBoss-user] [JBossCache] - je.properties

2006-01-10 Thread dlg
When I use JBossCache with the BDBJE cacheloader, it seems to ignore je.properties. I have my je.properties in WEB-INF/classes/je.properties alongside all of my other properties files. Does JBossCache do anything that prevents it from reading this? Any ideas? Thanks, Dan View the original po

[JBoss-user] [JBossCache] - Re: CacheLoader data eviction?

2006-01-06 Thread dlg
Thanks Ben. I was just counting on persistence between invocations of Java but that if the object itself timed out, it would disappear. If I call treecache.remove(), I assume it will be removed from the persistent store, so perhaps I should catch an event when the node is being timed out (and

[JBoss-user] [JBossCache] - CacheLoader data eviction?

2006-01-05 Thread dlg
Do nodes get removed from the CacheLoader when they hit maxAgeSeconds? Thanks, Dan [It looks like part of my problem is that things aren't getting cleaned up from the CacheLoader, so Bdbje gets slower and slower, and eventually writes seem to timeout. I assume this only happens with AsyncCach

[JBoss-user] [JBossCache] - Re: LockTimeoutException (with AsyncCacheLoader)

2006-01-05 Thread dlg
Hmm. Nothing I've been trying seems to help. Has anyone here ever successfully used the AsyncCacheLoader with the current Bdbje? Unfortunately, it's looking like I'll have to replace JBossCache with something else at this point... View the original post : http://www.jboss.com/index.html?modu

[JBoss-user] [JBossCache] - Re: LockTimeoutException (with AsyncCacheLoader)

2006-01-04 Thread dlg
Oh, and if it matters, I have IsolationLevel at NONE. (And CacheMode at Local0 My use case is that I want to store the items on disk quickly and load from the cache, but if the occasional item doesn't get stored to disk (because the system crashed before it got written) that's ok. I just don't

[JBoss-user] [JBossCache] - Re: LockTimeoutException (with AsyncCacheLoader)

2006-01-04 Thread dlg
t(fqn, key, val). In the config, my CacheLoader section looks like: org.jboss.cache.loader.bdbje.BdbjeCacheLoader location=/home/dlg/cache/bdbje true false true true and I'm using the DummyTransactionManager. Anyway, thank you for

[JBoss-user] [JBossCache] - LockTimeoutException (with AsyncCacheLoader)

2006-01-04 Thread dlg
acheLoader location=/home/dlg/cache/bdbje true false true true and I'm using the DummyTransactionManager. Anyway, thank you for JBossCache--it looks like an amazing system (even if I'm stressing out because I have an important de

[JBoss-user] [JBossCache] - TreeCache and EHCache in same VM

2005-11-15 Thread dlg
I'm slowly migrating some code from EHCache to JBossCache. Until I'm done, will there be any big performance issues with having both TreeCache and EHCache running at the same time? (EHCache will just be used for Hibernate.) Also, for Hibernate, if I don't need a transactional cache can I just

[JBoss-user] [JBossCache] - Re: Decoupling disk writes

2005-11-12 Thread dlg
Thank you Bela--I missed that. I assume it will still write each update separately rather than merging them, correct? (If so, I may write a version that delays and merges updates cases like mine where updates to different keys are idempotent. I've never looked at the JBossCache, so hopefully

[JBoss-user] [JBossCache] - Decoupling disk writes

2005-11-11 Thread dlg
Hi-- I'm thinking of using JBossCache in a large project and I've been reading the docs, but I'm not totally clear about some aspects. I appologize for the really basic questions, but I was hoping someone might know, since it would help me choose whether to use JBossCache. I've got a Map that