Bug 1074483 - Web service task with ASYNC mode fails with javax.persistence.TransactionRequiredException
Summary: Web service task with ASYNC mode fails with javax.persistence.TransactionRequ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: CR1
: 6.0.1
Assignee: Maciej Swiderski
QA Contact: Radovan Synek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-10 11:03 UTC by Radovan Synek
Modified: 2014-08-06 20:03 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:03:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
process definition with ASYNC WS task (17.41 KB, application/xml)
2014-03-10 11:03 UTC, Radovan Synek
no flags Details
error stacktrace (3.13 KB, text/plain)
2014-03-10 11:05 UTC, Radovan Synek
no flags Details

Description Radovan Synek 2014-03-10 11:03:12 UTC
Created attachment 872626 [details]
process definition with ASYNC WS task

Having a process definition with WS task configured to operate in ASYNC mode, javax.persistence.TransactionRequiredException raises when the process is being executed in business-central. See the attached process definition and stacktrace.

Steps to Reproduce:
1. start a business-central
2. opem jbpm designer, import attached process definition, save
3. build & deploy project, start the process definition and check the server log for errors.

Comment 1 Radovan Synek 2014-03-10 11:05:36 UTC
Created attachment 872627 [details]
error stacktrace

Comment 2 Maciej Swiderski 2014-03-11 17:06:12 UTC
fixed by making use of RuntimeManager for async work item completion if available

jbpm
master:
https://github.com/droolsjbpm/jbpm/commit/4cac63f044346187e2f8527fffddf9ac411036c8

6.0.x:
https://github.com/droolsjbpm/jbpm/commit/cfa4d56f116364b8035671f5b9176f7e6b0f7021

Comment 3 Michael 2014-03-14 17:41:50 UTC
Ticket cherry-picked into 6.0.1.CR1. 
Commit: 55e83b0f619ce876726b0f5bf485e360715c9dc6

Comment 4 Radovan Synek 2014-03-24 08:59:30 UTC
Verified with BPMS-6.0.1.CR1


Note You need to log in before you can comment on or make changes to this bug.