My Oracle Support Banner

BMT EJB Transaction That Encounters TimeOutException Stays Associated With Current Thread (Doc ID 1570333.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Weblogic Server - Version 12.1.1.0 to 12.1.2.0.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

There are two  EJBs :

  - A BMT Statefull bean (MyStatefulEjb)
  - A CMT Stateless bean (DoNothingEjb)

The BMT Statefull bean ( (MyStatefulEjb)  has two  methods :
 - the MyStatefulEjbl.beginTransaction() method  where a user transaction is started

DoNothingEjb.doNothing() method is failing with RolledbackException exception as if the transaction context of EJB  MyStatefulEjb has been propagated;

There is no global transaction context where the transactions related to  BMT   EJB Statefull bean  (MyStatefulEjb)  and  CMT Stateless bean (DoNothingEjb)  are enlisted;
The expected behaviour is that when calling DoNothingEjb.doNothing() no Exception is occuring.


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.