Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4313

CNFE InfinispanRegionFactory in app. with disabled caching

XMLWordPrintable

      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.

              smarlow1@redhat.com Scott Marlow
              rsmeral Ron Šmeral (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: