[
https://issues.apache.org/jira/browse/TOMEE-4483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17948669#comment-17948669
]
Jonathan Gallimore commented on TOMEE-4483:
-------------------------------------------
PR: [https://github.com/apache/tomee/pull/1911]
> 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)