the persistence should be in an EJB or WAR module inside the ERA and
not in the EAR itself... (what is just a big storage of modules).
On Thu, Jan 14, 2010 at 11:04 PM, Marina Vatkina <Marina.Vatkina_at_sun.com> wrote:
> 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
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
--
------------------------------------------
Felipe Gaścho
10+ Java Programmer
CEJUG Senior Advisor