My Oracle Support Banner

@EJB Injection In Servlets Does Not Work On Oracle GlassFish Server 2.1.1 Patch 20 (Doc ID 1537006.1)

Last updated on OCTOBER 19, 2023

Applies to:

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


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:



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.