users@glassfish.java.net

Re: RE: Exception while preparing the app : Invalid resource ...

From: <forums_at_java.net>
Date: Tue, 26 Nov 2013 19:00:15 -0600 (CST)

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