[
https://issues.apache.org/jira/browse/TOMEE-4483?focusedWorklogId=968295&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-968295
]
ASF GitHub Bot logged work on TOMEE-4483:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 01/May/25 14:17
Start Date: 01/May/25 14:17
Worklog Time Spent: 10m
Work Description: jgallimore opened a new pull request, #1911:
URL: https://github.com/apache/tomee/pull/1911
For discussion on the mailing list. This addresses an issue where a
transaction is incorrectly propagated to threads servicing a
ManagedExecutorService.
Issue Time Tracking
-------------------
Worklog Id: (was: 968295)
Remaining Estimate: 0h
Time Spent: 10m
> 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
> Time Spent: 10m
> 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)