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/01 14:15:00 UTC
[jira] [Created] (TOMEE-4483) Transaction propagated to executor threads through ThreadContext.enter()
Jonathan Gallimore created TOMEE-4483:
-----------------------------------------
Summary: 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
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)