My Oracle Support Banner

Web Services in WLS 12.2.1.3 - Unable to Inject ServletContext Into JAX-RS Resource Through CDI (Doc ID 2388560.1)

Last updated on JUNE 14, 2023

Applies to:

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

Symptoms

Unable to inject ServletContext into a JAX-RS resource through CDI Producer using Web Services on WLS 12.2.1.3.

Trying to inject ServletContext into a JAX-RS resource. They can inject it directly in the resources but can't do it through a CDI producer.

Error:



Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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