[jboss-user] [jBPM] - Re: Clustering strategy for jBPM5

Mauricio Salatino do-not-reply at jboss.com
Sat Sep 10 00:53:43 EDT 2011


Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: Clustering strategy for jBPM5"

To view the discussion, visit: http://community.jboss.org/message/625848#625848

--------------------------------------------------------------
I'm not suggesting anything, but that's how transactional databases work. If you get two connections from different places that modifies the same row in the database one will success and the other will fail. The expcetion is clear about that: 
javax.persistence.OptimisticLockException

It's not a jbpm5 problem, its how databases work. If you not ensure that two thread can keep everything consistent one needs to fail.

In which scenario are you getting that exception? what are you trying to achieve?

Best regards
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/625848#625848]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110910/88b3ae46/attachment.html 


More information about the jboss-user mailing list