EJBTransactionRolledbackException : Illegal attempt to call EJBContext.getRollbackOnly() from an EJB that was not participating in a transaction

(Doc ID 2278947.1)

Last updated on JUNE 21, 2017

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


On : version, EJB Container

Weblogic 12 does not propagate Transaction with TransactionAttribute SUPPORTS on callee.  

Application uses EJBContext.getRollbackOnly() to check if a transaction is set to rollback for error handling.


 Migrating the applications from WLS 10.3.6 from WLS 12.1.3 


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