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)

Reply via email to