Hi, everybody:

  I met a problem when updating an arraylist. I put a Pojo object "Lobby" in a 
replicated TreeCache. The "Lobby" object has an Arraylist which contains 
objects "Player". The TreeCache is replicated on two nodes. At each node, a 
couple of transactions update the ArrayList. When two transactions on two nodes 
are updating the Arraylist at the same time, a write conflict will happen and 
then both abort. Then, each transaction wil retry later. At the time of retry , 
I met exceptions on each node. On one node , the exception is 
     [java] java.lang.RuntimeException: java.lang.IllegalStateException: 
AOPInstance.incrementRefCount(): source fqn: /lobby/0/players/17 is already 
present.
  
 On another node, the exception is:
     [java] java.lang.RuntimeException: java.lang.RuntimeException: 
InternalDelegate.incrementRefCount(): null aopInstance.

Then, I cannot continue the execution. I tried to change to use HashMap to 
replace ArrayList, but the the same problem still exist. 

Anybody here kowns what is the reason? 

Thank you very much.

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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to