users@glassfish.java.net

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

From: <forums_at_java.net>
Date: Sun, 23 Oct 2011 09:51:52 -0500 (CDT)

Can you provide more information ? Do you use "glassfish-resources.xml"
(application/module scoped resources) bundled in the application's
META-INF/WEB-INF directory ?

The exception indicates that the jdbc-resource referred via
<jta-data-source>/<non-jta-data-source> is not available. Make sure that the
<jta-data-source> or <non-jta-data-source> elements in persistence.xml should
refer to a jdbc-resource made available in application server.


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