ClassNotFoundException: org.apache.openjpa.persistence.PersistenceProviderImpl

2013-11-02 Thread Matthias Wessendorf
Hello! On trunk, when removing the provider element of the persistence.xml ([1]) the openejb-core-hibernate module assumes that the OpenJPA impl. should be used. However, the test here fails, since it can not find the OpenJPA implementation; See stacktrace below. -Matthias [1]

Re: ClassNotFoundException: org.apache.openjpa.persistence.PersistenceProviderImpl

2013-11-02 Thread Jean-Louis MONTEIRO
Hi Matthias, The openejb-core-hibernate is just a helper pom. It aims at providing a easy way from an end user point of view to use Hibernate as the JPA provider instead of OpenJPA by default. The pom just excludes OpenJPA and includes Hibernate. If you wanna use OpenJPA, you have to use

Re: ClassNotFoundException: org.apache.openjpa.persistence.PersistenceProviderImpl

2013-11-02 Thread John D. Ament
Also, I believe this is expected behavior per EE specs. The container may have a default provider, which an app can leverage. In containers like WebLogic, you can configure a different default but that requires specific configuration. Maybe it's possible to configure OpenEJB/TomEE to have a