| Summary: | ExecuteJobCommand in ESB's jBPM integration doesn't roll back the transaction even if the action handler throws Exception | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 4 | Reporter: | Toshiya Kobayashi <tkobayas> | ||||
| Component: | JBPM - within SOA | Assignee: | Kevin Conner <kevin.conner> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 4.3 CP02 | CC: | bernd.ruecker, dlesage | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.3 CP04 ER1 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://jira.jboss.org/jira/browse/SOA-1882 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-03-25 11:11:33 UTC | Type: | Feature Request | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Deadline: | 2010-03-08 | ||||||
| Attachments: |
|
||||||
|
Description
Toshiya Kobayashi
2010-01-26 01:10:06 UTC
Attachment: Added: jobexecution.zip Link: Added: This issue is related to SOA-1880 Link: Added: This issue related SOA-1881 Link: Added: This issue incorporates JBESB-3152 ESB issue has been rejected as we duplicate the jBPM behaviour. Sorry, didn't mean to close this one Changed to a feature request added 5.0.0.ER7 as affects version Link: Added: This issue related SOA-1889 As proposed over email, I would like that that the changes made in the ExecuteJobCommand from the jBPM enterprise module under JBPM-2691 be adapted to the JCA inflow messaging service. As previously stated in email, we are implementing our own version and deviating from the jBPM behaviour. This deviation is to be documented. Approved for SOA 4.3 CP03. Please make sure it gets assigned to the appropriate person. Link: Removed: This issue incorporates JBESB-3152 Link: Added: This issue depends JBESB-3152 Updated in ESB codebase, will be in next merge. Draft text for Resolved Issues section of Release Notes states: https://jira.jboss.org/jira/browse/JBESB-3152 If an async node was executed via the Enterprise Service Bus' JCA Inflow Message Service, the transaction was not being rolled back even if the action handler generated an exception. The transaction would be committed and then the org.jboss.soa.esb.services.jbpm.integration.job.ExecuteJobCommand.executeJob() method would try to process it again, leading to a duplicate commitment. To rectify this issue, custom changes have been made to ExecuteJobCommand so that this problem with JCA Inflow Messaging no longer occurs. Note This means that there is now a deviation between the behavior of the version of ExecuteJobCommand used by jBPM and that used by the ESB. Verified on 4.3 CP03. The transaction is rolled back and the created process instance from the action which threw the Exception is not there anymore. |