EJB3.0 Stateless Session Bean causing "RemoveException: Illegal attempt to remove a stateful session bean while it is participating in a transaction when invoking ejb 2.0" Statefull Session Bean.

(Doc ID 1499130.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version 10.0 to
Information in this document applies to any platform.


Running into below exception after upgrading to 10.3.2 from wls 8.1.

Client --> Invoking Stateless Session Bean--->Invoking statefull Session Bean.

The stateless bean EJB 3 is calling external instance EJB 2 that is stateful session bean and running into below exception.



 upgraded stateless Session Bean from EJB 2.0 to 3.0.



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