[jira] Updated: (SANDESHA2-177) InMemoryTransaction should not try to enlist beans when no longer active.

"Sara Mitchell (JIRA)" <[email protected]>
Newsgroups gmane.comp.apache.webservices.fx.devel
Message-ID <1897230186.1220963864263.JavaMail.jira@brutus>
     [ https://issues.apache.org/jira/browse/SANDESHA2-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sara Mitchell updated SANDESHA2-177:
------------------------------------

    Attachment: InMemoryTran_isActive.patch

> InMemoryTransaction should not try to enlist beans when no longer active.
> -------------------------------------------------------------------------
>
>                 Key: SANDESHA2-177
>                 URL: https://issues.apache.org/jira/browse/SANDESHA2-177
>             Project: Sandesha2
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Sara Mitchell
>             Fix For: 1.3
>
>         Attachments: InMemoryTran_isActive.patch
>
>
> InMemoryTransaction.enlist(RMBean ..) should check for isActive() before running any logic, and throw IllegalState exception
> if it returns false.  This is because isActive() will return false if the tran has called commit() or rollback() previously,
> and in this situation we do not want to try and enlist further work on the tran.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.