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 12.1.1.0
Information in this document applies to any platform.

Symptoms

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.

 

Changes

 upgraded stateless Session Bean from EJB 2.0 to 3.0.

 

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