EJB Injection of Remote EJBs with @EJB(mappedName=”RemoteBean”) not working in CDI modules (META-INF/bean.xml available) (Doc ID 1591943.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle WebLogic Server - Version 12.1.1.0 to 12.1.1.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

EJB Injection of Remote EJBs with @EJB(mappedName=”RemoteBean”) is not working in CDI modules (META-INF/bean.xml available).

As an example -

(a) Create simple stateless session bean as below:

 

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