users@glassfish.java.net

Re: Unable to retrieve EntityManagerFactory for unitName null for simple EJB

From: <glassfish_at_javadesktop.org>
Date: Mon, 28 Jun 2010 02:39:58 PDT

Same problem here. My packaging is as follows:

EAR -> application.xml and some library jars
WAR -> web app
EJB -> EJB 3.0 Session Beans
Entity.JAR -> Entity Classes, persistence.xml and orm.xml

Is the problem related to packaging entity classes in its own jar?
[Message sent by forum member 'batzee']

http://forums.java.net/jive/thread.jspa?messageID=476100