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/#asynchronouscontinua... 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&...]