I followed https://community.jboss.org/en/arquillian/blog/2010/10/04/the-perfect-recipe-for-testing-jpa-2-revisited (but first upgraded to the new glassfish-embedded as per https://community.jboss.org/wiki/WhereIsTheEmbeddedGlassFish312Jar) and i was getting the error Invalid resource : jdbc/arquillian__pm.
I couldn't see that the sun-resources.xml specified in the arquillian.xml was loading. I found an example of an arquillian.xml in https://community.jboss.org/thread/222575 and used it.
If the arquillian.xml as per the tutorial wasn't correct why isn't an error generated?
Retrieving data ...