I am assuming you have following structure.
EAR
WAR
EJB
Entity.jar
This is not valid. If you need to share your persistence unit across
module, you need to place it in lib dir of EAR as follows
EAR
WAR
EJB
lib/
Entity.jar
The Entity.jar needs
On 6/28/2010 2:39 AM, glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>