[jboss-user] [jBPM] - Re: Concurrency problems with JBPM 5.4
Thomas Setiabudi
do-not-reply at jboss.com
Tue Jul 23 02:53:57 EDT 2013
Thomas Setiabudi [https://community.jboss.org/people/thomas.setiabudi] created the discussion
"Re: Concurrency problems with JBPM 5.4"
To view the discussion, visit: https://community.jboss.org/message/829220#829220
--------------------------------------------------------------
Hi Jon Kranes,
I got this problem too before.
I am using JBPM5.4 Final, Spring 3, and MS SQL Server 2008 Db.
few things that I remember:
1. when you start process or when you do completeTask, remove the @Transactional annotation. And let the jBPM engine handle the transaction.
(I got a problem where my Web App got hang like endless locking, and this clears the issue)
2. add unique index for "processInstanceId" field in database table "ProcessInstanceLog"
(I got a problem where the jBPM engine throws deadlock exception when starting task without human task with multiple thread)
Hope this helps.
Regards,
Thomas Setiabudi
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/829220#829220]
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/20130723/0268439e/attachment.html
More information about the jboss-user
mailing list