@EJB Injection In Servlets Does Not Work On Oracle GlassFish Server 2.1.1 Patch 20

(Doc ID 1537006.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle GlassFish Server - Version 2.1.1 to 2.1.1 [Release 2.1]
Information in this document applies to any platform.

Symptoms

Servlet @EJB Injection does not work in Oracle GlassFish Server 2.1.1 Patch 20. It works fine on previous patch levels.

For example consider the following @EJB injection:

 

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