[jboss-user] [jBPM] - Re: JBPM 5 and clustering ?

Arkady Perepelyuk do-not-reply at jboss.com
Wed Sep 7 23:34:14 EDT 2011

Arkady Perepelyuk [http://community.jboss.org/people/arkper] created the discussion

"Re: JBPM 5 and clustering ?"

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

Gary, unfortunately option 2 doesn't really work either. I believe there's a problem with updating entity/table SessionInfo by several concurrent nodes trying to share it. The exception is as follows:

Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Sep 7, 2011 10:39:34 PM org.drools.persistence.jta.JtaTransactionManager commit
WARNING: Unable to commit transaction

: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.drools.persistence.info.SessionInfo#1]

This happens every time another node  updates the shared SessionInfo entity before the current node has a chance to commit its current transaction.

I was hoping something like clustering by Terracotta would work, but have run into issues trying to integrate jBPM5 with Terracotta. 

Have you had any success in making jBPM5 highly available? Please share your current status.



Reply to this message by going to Community

Start a new discussion in jBPM at Community

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

More information about the jboss-user mailing list