Using @EJB to inject an EJB from a separate jar file results in a NullPointerException in JBoss EAP
Issue
- When deploying an SLSB that has an injected SLSB from a different EJB JAR a
"java.lang.NullPointerException"results. Using a"mappedName"in the"@EJB"annotation works, but client does not want to use JBoss specific properties in the EJBs.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.0.1
- 5.1.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
