[jboss-user] [jBPM] - Re: Deadlocks in the JBPM4_EXECUTION

Hendra Jaya do-not-reply at jboss.com
Wed Mar 7 04:27:24 EST 2012


Hendra Jaya [https://community.jboss.org/people/jancrot] created the discussion

"Re: Deadlocks in the JBPM4_EXECUTION"

To view the discussion, visit: https://community.jboss.org/message/722058#722058

--------------------------------------------------------------
Hi,

I encounter the same problem too.
My scenario is 20 concurrent users accessing the same block of code.
Here's the snapshot of the source code:

Execution execution = execService.findExecutionById(processInstanceId);

ProcessInstance rootInstance = getRootProcessInstance(execution);
String rootInstanceId = rootInstance.getId();

execution = execService.signalExecutionById(processInstanceId, variables);
boolean rootExecutionCompleted = null == execService.findExecutionById(rootInstanceId);

It's run under Microsoft Windows XP SP2, SQL Server 2008, JBPM4, and Hibernate 3.3.2
Currently, I'm wondering whether above piece of code is the source of the problem or something else.

Thanks,
Hendra Jaya
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20120307/67aa1115/attachment.html 


More information about the jboss-user mailing list