[jboss-user] [JBoss Cache: Core Edition] - MVCC lock timeout exception after 0? ms.

zeravlai do-not-reply at jboss.com
Tue Jun 9 12:02:45 EDT 2009


Hi all,

I'm using jboss cache 3.0.2 and have a cache configured with MVCC. The cache is being used by hibernate as a second level cache, in a 2 nodes cluster using INVALIDATION_SYNC.

I have also configured the lockAcquisitionTimeout to 15000.

The thing is I see exceptions like this:

  |      [exec] 17:50:17,890 INFO  [STDOUT] Caused by: org.jboss.cache.lock.TimeoutException: Unable to acquire lock on Fqn [/persistence.unit:unitName=SPECjAppServer.ear/corp.jar#corp-persistence/org/spec/jappserver/corp/customerinventoryent/ejb/CCustomerInventory/ENTITY/org.spec.jappserver.corp.customerinventoryent.ejb.CCustomerInventory#394737] after [0] milliseconds for requestor [Thread[Incoming-11,138.100.12.127:60763,10,Thread Pools]]! Lock held by [GlobalTransaction:<138.100.12.127:60763>:18482]
  |      [exec] 17:50:17,891 INFO  [STDOUT] 	at org.jboss.cache.mvcc.MVCCNodeHelper.acquireLock(MVCCNodeHelper.java:170)

where I can read the cache is unable to get a lock after 0 milliseconds.

Is there any other parameter that takes care of the timeoutexception, rather than lockAcquisitionTimeout?

Thanks a lot !!


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

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



More information about the jboss-user mailing list