Injection In Interceptors (EJB+CDI) Does Not Work If Interceptors are Placed Under WEB-INF/lib
(Doc ID 1626026.1)
Last updated on OCTOBER 07, 2022
Applies to:
Oracle WebLogic Server - Version 12.1.2.0.0 and laterInformation in this document applies to any platform.
Symptoms
EJB has CDI injections and CDI interceptors.
If the EJB is packed in a WAR archive and interceptor classes are placed under WEB-INF/classes directory, then everything is working as expected.
However, if the interceptors are placed under WEB-INF/lib (packaged in a JAR archive), then all injections stop working even though there are no exceptions from application server.
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 |