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