users@glassfish.java.net

Re: can't deploy two set of JPAs into the glassfish?

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Thu, 06 Nov 2008 10:57:13 -0800

Are you deploying with --verify=true? If yes, it might be a bug in verifier, and
you should be fine without this flag. Otherwise it means something is not
packaged as you thought it is - GF doesn't process PUs that are not referenced
by an application.

HTH,
-marina

glassfish_at_javadesktop.org wrote:
> Thank you for your reply.
>
> In deployment time, I get:
>
> Could not resolve a persistence unit corresponding to the persistence-unit-ref-name [x] in scope of the module called [y]. Please verify your application.
>
> The only programs need to access the PU under web-inf/lib is in the same jar file as the PU. The web application has it own PU and all codes use that PU.
> [Message sent by forum member 'bobxu' (bobxu)]
>
> http://forums.java.net/jive/thread.jspa?messageID=315267
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>