You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Donald Kwakkel (JIRA)" <ji...@apache.org> on 2017/11/02 09:19:00 UTC

[jira] [Updated] (TOMEE-2135) ejb state not maintained for user transactions in afterCommit

     [ https://issues.apache.org/jira/browse/TOMEE-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Kwakkel updated TOMEE-2135:
----------------------------------
    Description: When a ejb is registering a beforeCompletion handler in the transaction synchronization registry when the transaction is started by a user transaction, there is no ejb context in beforeCompletion (run attached test). When using bean javax.ejb.BeforeCompletion it has. Not sure what must be the behaviour according to the jee/ejb specs.  (was: When a ejb is registering a beforeCommit handler when the transaction is started by a user transaction, there is no ejb context in beforeCommit (run attached test). )

> ejb state not maintained for user transactions in afterCommit
> -------------------------------------------------------------
>
>                 Key: TOMEE-2135
>                 URL: https://issues.apache.org/jira/browse/TOMEE-2135
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 1.7.3
>            Reporter: Donald Kwakkel
>            Priority: Critical
>         Attachments: MoviesTest.java
>
>
> When a ejb is registering a beforeCompletion handler in the transaction synchronization registry when the transaction is started by a user transaction, there is no ejb context in beforeCompletion (run attached test). When using bean javax.ejb.BeforeCompletion it has. Not sure what must be the behaviour according to the jee/ejb specs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)