[jboss-user] [jBPM] - Optimistic Locking at Join

Alejandro Guizar do-not-reply at jboss.com
Thu Jun 10 16:34:46 EDT 2010


Alejandro Guizar [http://community.jboss.org/people/alex.guizar%40jboss.com] replied to the discussion

"Optimistic Locking at Join"

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

--------------------------------------------------------------
> Does anyone know a better way to deal with this? I was thinking there might be a way to use wait/notifyAll, either in the Fork and Join activities, or with the Join activity notifying the main thread in the driver class.
Yes. We have to "foreport" the join solution from jBPM 3.2.9 (see  https://jira.jboss.org/browse/JBPM-2790 JBPM-2790) to jBPM 4.4. For the time being, try setting the  http://docs.jboss.com/jbpm/v4/userguide/html_single/#asynchronouscontinuations continue attribute to async or exclusive in the join activity in order to reduce the window of opportunity for a locking conflict.

--------------------------------------------------------------

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

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/20100610/bf957aab/attachment.html 


More information about the jboss-user mailing list