When the glassfish-resources.xml is bundled in the archive, the resources are
scoped.
eg: the resource by name "testingPU" is available as "java:app/testingPU".
So, the lookup of resource should be done as
'initialContext.lookup("java:app/testingPU")'
If you are using persistence.xml, please change it to refer the resource as
"java:app/testingPU"
--
[Message sent by forum member 'jr158900']
View Post: http://forums.java.net/node/882770