[
https://jira.jboss.org/browse/JBSEAM-4512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12541017#action_12541017
]
Aram Nigiyan commented on JBSEAM-4512:
--------------------------------------
In our application we also faced this problem. I searched in internet and found
some similar problems and they also haven't got any response/support.
http://www.seamframework.org/Community/SeamJBPMTransactions
http://seamframework.org/Community/JbpmTransactionRollbackProblem
Is this topic going to be reviewed by you?
..it looks like the seam project is dead, but nobody says about it so that not
to put everybody in a bad mood.
> BPM task does not rollback
> --------------------------
>
> Key: JBSEAM-4512
> URL: https://jira.jboss.org/browse/JBSEAM-4512
> Project: Seam
> Issue Type: Bug
> Components: BPM
> Affects Versions: 2.2.0.GA
> Environment: Testing this on Windows XP. Deploying to JBoss AS 4.2.2
> Reporter: Jason E
>
> I have made a simple change to the ShipAction.java class in the dvdstore
> example that ships with Seam. Here is the change
> //@EndTask
> public String ship() {
> order.ship(track);
> TaskInstance ti =
> ManagedJbpmContext.instance().getTaskInstance(taskInstance.getId());
> taskInstance.end();
> if(true) throw new RuntimeException("TESTING");
> return "admin";
> }
> I commented out the end task annotation and I am ending the task via the
> TaskInstance API. When I throw the Runtime exception the changes to the
> ORDERS entity bean (i.e. updating the tracking number) rolls back. The
> problem is that the task instance change (i.e. ending the task) does not
> rollback. It appears that jBPM is flushing its changes in another db
> transaction. This seems like a bug since I would expect the ending of my
> task to also rollback. This seems like the desired behavior.
> This was the only change I made to the dvdstore example that ships with Seam
> 2.2.0.GA so it should be easy to reproduce.
> Thanks!
> Jason
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues