Using Glassfish 4 and Netbean 7.4, having same issue when trying to deploy
the WAR from IDE. Below post is not clear 1) Link specified does not work 2)
Below lines has some typo Is it "you can't"? You can to have
"glassfish-resources.xml" in META-INF directory of the .ear and let
persistence.xml refer the resource. Do we need glassfish-resources.xml and
persistence.xml? If yes, how it should be configured? Hi Eve, You can refer
this sample :
http://wikis.sun.com/display/GlassFish/Application+Scoped+Resources+and
+JDBC+Monitoring+Features+for+MS4 You can to have "glassfish-resources.xml"
in META-INF directory of the .ear and let persistence.xml refer the resource.
eg: With the following configuration in glassfish-resources.xml :
--
[Message sent by forum member 'strayan']
View Post: http://forums.java.net/node/780693