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

Last updated on NOVEMBER 05, 2016

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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms