users@glassfish.java.net

Re: Error deploying web app using JPA

From: <glassfish_at_javadesktop.org>
Date: Sun, 01 Jul 2007 22:32:23 PDT

There's only one persistence.xml in the war. I unzipped the file just to make sure.

[code]
$ jar -tf StocksWeb.war|grep persistence.xml
META-INF/persistence.xml
[/code]

I've noticed that I can change the name attribute of persistence-unit to whichever value, but it gives the same error. It's as if the persistence.xml is not even being read.
[Message sent by forum member 'fawad' (fawad)]

http://forums.java.net/jive/thread.jspa?messageID=224855