glassfish_at_javadesktop.org wrote:
> Marina wrote:
>
> It shouldn't be everywhere - it should be in the META-INF directory in your
> classpath.
> ......................
> Thanks for you comments but...
>
> This is the first place that I added persistence.xml. This folder is specifically included on the classpath. In addition to META-INF.... I have tried other folders too.
OK. Don't try to put it anywhere else - it must be in the META-INF directory on
your classpath.
You can try to combine 3 lines for <provider> into one and check if it makes a
difference.
How do you run your application? Can it be that the classloader doesn't see
META-INF/persistence.xml?
> [Message sent by forum member 'pbaker01' (pbaker01)]
>
> http://forums.java.net/jive/thread.jspa?messageID=215701
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>