My Oracle Support Banner

Web Service Application Fails On GlassFish 2.1.1 Patch 20 When @Resource Annotation Is Used (Doc ID 1571405.1)

Last updated on JUNE 07, 2022

Applies to:

Oracle GlassFish Server - Version 2.1.1 and later
Information in this document applies to any platform.


@Resource annotation does not work in Oracle GlassFish Server 2.1.1 Patch 20. It does work on previous patch levels.

For example, consider the following web service code:



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.