You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jonathan Gallimore (Jira)" <ji...@apache.org> on 2025/05/13 14:09:00 UTC

[jira] [Resolved] (TOMEE-4483) Transaction propagated to executor threads through ThreadContext.enter()

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

Jonathan Gallimore resolved TOMEE-4483.
---------------------------------------
    Resolution: Fixed

> Transaction propagated to executor threads through ThreadContext.enter()
> ------------------------------------------------------------------------
>
>                 Key: TOMEE-4483
>                 URL: https://issues.apache.org/jira/browse/TOMEE-4483
>             Project: TomEE
>          Issue Type: Bug
>            Reporter: Jonathan Gallimore
>            Assignee: Jonathan Gallimore
>            Priority: Major
>             Fix For: 10.1.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In a case where a Stateless Session Bean makes multiple calls to other stateless beans by adding calls to a managed executor, the transaction shouldn't be propagated to the executor threads as the transaction can only be associated with a single thread at a time.
> Unfortunately EjbTransactionUtil wires a listener into ThreadContext.enter() which causes this to happen. Test and potential patch incoming.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)