[jboss-user] [JBossCache] - Re: NPE when using optimistic locking with JbossCache 1.4.0.

manik.surtani@jboss.com do-not-reply at jboss.com
Wed Jan 10 06:13:46 EST 2007


"kgrjb" wrote : 
  | the problem is there is a massive amount this error[data node is newer ...]. someone got the same problem in this thread and this problem was supposed to  be fixed in 1.4.1.CR1 - please correct me if im wrong.

It was not a problem that was fixed, just that there was unnecessary matching in some read-only cases where no validation was necessary.  This was fixed in 1.4.1.CR1, but if your threads are writing to the node, then this is correct behaviour.  

In general, as a concept, if you have a lot of threads concurrently writing to the same data, optimistic locking will throw such exceptions.

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

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



More information about the jboss-user mailing list