Your persistence.xml defines Hibernate to be the persistence provider. Then why do you deploy OpenJPA plus Hibernate?
If I'm not mistaken openjpa-all contains all dependencies of OpenJPA, including the javax.persistence API, which may cause a class cast conflict with another copy of this API contained in Glassfish.
If you'd like to deploy OpenJPA to your Glassfish server, try openjpa (not openjpa-all). Maven will help you in getting the dependencies right.
Regards,
Harald
[Message sent by forum member 'hwellmann']
http://forums.java.net/jive/thread.jspa?messageID=478080