users@glassfish.java.net

Re: persistence.xml in ear

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Thu, 14 Jan 2010 14:04:01 -0800

Read the JPA spec about valid packaging options. You'll find that
META-INF directory of an ear is not one of them.

Regards,
-marina

glassfish_at_javadesktop.org wrote:
> Hello.
> I am using Glassfish v3 and i am trying declare persistence.xml in ear.
> persistence.xml file it's inside META-INF directory, but glassfish ignored it at deploy.
>
> Any suggestion?
>
> Thanks!
> Apology by my poor english.
> [Message sent by forum member 'angelcervera' (suscripciones.angel_at_latiendadechivi.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=381026
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>