users@glassfish.java.net

Invalid resource: jdbc/MyDataSource__pm

From: <forums_at_java.net>
Date: Sat, 10 Sep 2011 04:30:44 -0500 (CDT)

 If I try to deploy my .ear to GlassFish 3, it always fails with
"Exception while invoking class org.glassfish.persistence.jpa.JPADeployer
prepare method: java.lang.RuntimeException: Invalid resource:
jdbc/MyDataSource__pm". 

Thing is, in persistence.xml I specified
<jta-data-source>jdbc/MyDataSource</jta-data-source>. Any idea what I'm doing
wrong, i.e. where does the __pm come from and how do I get rid of it?

 


--
[Message sent by forum member 'koenr']
View Post: http://forums.java.net/node/841788