-
Bug
-
Resolution: Done
-
Major
-
7.1.1.Final
In the Booking example from Seam2.2 (migrated to EAP6), the following problem occurred at deployment on AS 7.1.1:
The application uses bundled Hibernate 3.3, configured with:
persistence.xml
<property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/> <property name="hibernate.cache.use_second_level_cache" value="false"/> <property name="hibernate.cache.use_query_cache" value="false"/> <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/> <property name="jboss.as.jpa.providerModule" value="hibernate3-bundled" />
A deployment attempt fails with:
14:54:13,042 WARN [org.jboss.modules] (MSC service thread 1-4) Failed to define class org.jboss.as.jpa.hibernate3.infinispan.InfinispanRegionFactory in Module "deployment.jboss-seam-booking.ear:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/as/jpa/hibernate3/infinispan/InfinispanRegionFactory (Module "deployment.jboss-seam-booking.ear:main" from Service Module Loader) ... Caused by: java.lang.NoClassDefFoundError: org/hibernate/cache/infinispan/InfinispanRegionFactory ... Caused by: java.lang.ClassNotFoundException: org.hibernate.cache.infinispan.InfinispanRegionFactory from [Module "deployment.jboss-seam-booking.ear:main" from Service Module Loader]
Note:
Full server log and EAR can be found in the referenced forum, first post.
The workaround mentioned in the forum does not work.