NullPointerException When Injecting EJB in a Servlet
(Doc ID 1570150.1)
Last updated on MAY 14, 2018
Applies to:Oracle WebLogic Server - Version 126.96.36.199 and later
Information in this document applies to any platform.
A J2EE application is deployed into 12.1.1. WLS.
This application has two modules :
1. EJB module packaged in ejb-service-request-2.jar EJB Jar file containing a Stateless EJB bean (TestEjb) :
2. WEB module packaged in cdi_and_richfaces-2.0.war War file containing a servlet (Servlet1).
The servlet is packaged in my-web-lib.jar.
And, in classes directory of the War file is stored my.managedBean.EJBInjectionWorkaroundInitializer.class
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