[jboss-user] [JBoss Cache: Core Edition] - Re: BerkeleyDB Deadlock Exception from JBoss Cache Loader: B

niuxuetao_fiserv do-not-reply at jboss.com
Fri Jun 26 12:21:30 EDT 2009


Thanks for your reply Galder!

I couldn't reproduce the deadlocking problem on my windows machine anymore (with a rather large number of lockWaiting time config), I am trying on Linux where it does happen randomly.

About the write-intensive stuff, yes, we will have a lot more calls to attach() than modifying the already cached Pojos. For this, I have some questions:

1. If I call attach() with a key and value that already exist in the cache, what will happen?

2. How do I use transaction in java code to explicitly begin and end a transaction? 
- DummyTransactionManager.getUserTransaction()?
- or like describe in this page? http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/1.4.1.SP4/tutorial/en/html_single/index.html which looks a pretty old doc?


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240402#4240402

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240402



More information about the jboss-user mailing list