anonymous wrote : @PersistenceContext (unitName="tps") | protected EntityManager em;
Also, as you mention that the persistence.xml is in the same jar (tps-entity.jar) as the EJB, change the above piece of injection code to @PersistenceContext | protected EntityManager em; | This should inject the persistence context of the default persistence unit (in this case the tps persistence unit). Let's see if that works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140132#4140132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140132 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user