Glad, your issue is resolved.
Actually, having multiple PUs with same name is not necessarily a bug in
the application; it only complicates while referencing them in the code.
If you run verifier against your problematic ear file, you could see
DuplicatePUNameTest reporting a failure for you.
GlassFish V2 would have also reported the same problem for you.
Thanks,
Sahoo
glassfish_at_javadesktop.org wrote:
> Thanks!
> This was insight I needed.
> The problem was that during the repackaging I created a copy of the persistence.xml (one copy in lib/entities.jar and one in lib/ejb-interfaces.jar).
> After deleting the wrong copy (from lib/ejb-interfaces.jar ) everything works!
>
> bye
> -stephan
> [Message sent by forum member 'iceandfire' (iceandfire)]
>
> http://forums.java.net/jive/thread.jspa?messageID=223925
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>