| Summary: | JobExecutor doesn't roll back the transaction even if the action handler throws Exception | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Toshiya Kobayashi <tkobayas> | ||||
| Component: | JBPM - within SOA, JBPM - standalone | Assignee: | Alejandro Guizar <alex.guizar> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.0.0 ER7 | CC: | dlesage | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://jira.jboss.org/jira/browse/SOA-1880 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | SOA-1880 | Environment: | |||||
| Last Closed: | 2010-03-24 09:09:05 UTC | Type: | Bug | ||||
| 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 00:37:07 UTC
Attachment: Added: jobexecution.zip Link: Added: This issue depends JBPM-2767 Link: Removed: This issue depends JBPM-2767 Link: Added: This issue incorporates JBPM-2767 Link: Added: This issue related SOA-1882 added 5.0.0.ER7 as affects version Link: Added: This issue incorporates JBPM-2691 JBPM-2767 is in effect a duplicate of JBPM-2691, incorporating the latter issue. Approved for SOA 4.3 CP03. Please make sure it gets assigned to the appropriate person. JBPM-2691 is resolved. SOA-P team, please close as appropriate. The following draft text has been added to the Resolved Issues section of the Release Notes: SOA-1880 https://jira.jboss.org/jira/browse/JBPM-2767 If an async node was being processed by the JobExecutor and the action handles threw an exception, the transition was committed. As a consequence, no attempt was made to re-process it. To fix this issue, JbpmContext.setRollbackOnly() is now called by the action handler. As a result, if an exception occurs during job execution, the exception is stored and the job is automatically reprocessed for a determined number of retries. (This number is set in jbpm.cfg.xm.) Verified in 4.3.CP03 ER1 |