I have an EAR file in which I have an EJB jar and a WAR file. The EJB jar defines a SLSB and contains persistence.xml. The SLSB is also a Seam component. The web app is Seam (2.3.1.Final) based application. In the web application I inject SLSB using @In to get an instance of it. I successfully get an instance but EntityManager in the SLSB instance is NULL which results in throwing NullPointerException.
Any pointers would be much appreciated. Thanks.