Hi 
       i had posted a locking issue previously 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117973#4117973

this was my mistake, there was a synchronization problem while cache creation 
and there were 2 instances running ! 

now i have fixed and upgraded to jboss cache 2.0.0. yesterday i got the 
following lock issue - 

10:52:55,679 INFO  [WorkerThread#3[192.168.20.157:54241]] Exception while 
trying to write into cache : failure acquiring lock: 
fqn=/Indicatives/SAIL04035, 
caller=GlobalTransaction:<192.168.20.134:51000>:838, lock=write 
owner=GlobalTransaction:<192.168.20.134:51000>:837 ([EMAIL PROTECTED])
10:52:55,679 INFO  [WorkerThread#4[192.168.20.157:54246]] Exception while 
trying to write into cache : failure acquiring lock: 
fqn=/Indicatives/SAIL04034, 
caller=GlobalTransaction:<192.168.20.134:51000>:837, lock=write 
owner=GlobalTransaction:<192.168.20.134:51000>:838 ([EMAIL PROTECTED])


i can see that both threads have accessed at the same time. this is the 
drawback of pessimistic locking and i should move to optimistic locking ? 



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124688
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to