Injection In Interceptors (EJB+CDI) Does Not Work If Interceptors are Placed Under WEB-INF/lib
Last updated on MAY 24, 2017
Applies to:Oracle WebLogic Server - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
EJB has CDI injections + 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.
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