I\'m running Glassfish 3.1-SNAPSHOT as of today (2010-11-12).
I\'m using the embedded EJBContainer.
On the classpath, as reported by the EJBContainer, I have
If by mistake you put @PersistenceContext(name="cx") instead of @PersistenceContext(unitName="cx") you get the same error with everything else working.