Last updated on JUNE 09, 2016
Applies to:Oracle Weblogic Server - Version 9.2 to 10.3.3
Information in this document applies to any platform.
If you have a Stateful Session Bean with BMT (Bean Managed Transaction), and a Stateless Session Bean with CMT (Container Managed Transaction) with the Requires attribute, when invoking the Stateful Session Bean from a servlet, which in turn invokes the Stateless Session Bean. The servlet creates an instance of the Stateful Session Bean. The Stateful Session Bean starts a transaction with UserTransaction.begin(). If the Stateless Session Bean methods call setRollbackOnly, any subsequent call from the Stateful Session Bean to rollback or commit the transaction receives shows the below exception:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms