[jboss-jira] [JBoss JIRA] (AS7-4313) CNFE InfinispanRegionFactory in app. with disabled caching

Marek Schmidt (JIRA) jira-events at lists.jboss.org
Wed Mar 28 11:31:47 EDT 2012


     [ https://issues.jboss.org/browse/AS7-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Schmidt updated AS7-4313:
-------------------------------

    Affects Version/s: 7.1.1.Final
      Forum Reference: https://community.jboss.org/message/726960#726960  (was: https://community.jboss.org/message/726960#726960)

    
> CNFE InfinispanRegionFactory in app. with disabled caching
> ----------------------------------------------------------
>
>                 Key: AS7-4313
>                 URL: https://issues.jboss.org/browse/AS7-4313
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 7.1.1.Final
>         Environment: JBoss AS 7.1.1.Final, Seam 2.2.5.EAP5, Hibernate 3.3.2.GA_CP04
>            Reporter: Ron Šmeral
>            Assignee: Scott Marlow
>
> 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:
> {code:xml|title=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" />
> {code}
> A deployment attempt fails with:
> {noformat}
> 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]
> {noformat}
> *Note:*
> Full server log and EAR can be found in the referenced forum, first post.
> The workaround mentioned in the forum does *not* work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list