3 Replies Latest reply on Jul 1, 2010 7:36 AM by yann p.

    Infinispan 4.1.0 BETA2 and Hibernate 3.5.3

    yann p. Newbie

      Hi,

      Someone test Infinispan 4.1.0 BETA2 as L2C with Hibernate 3.5.3. I follow the documentation dans when i start my application y have these errors :

      ...

       

      Caused by: org.hibernate.cache.CacheException: Unable to start region factory
      at org.hibernate.cache.infinispan.InfinispanRegionFactory.start(InfinispanRegionFactory.java:255)
      at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:248)
      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1385)
      at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:954)
      at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
      at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)
      at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
      ... 17 more
      Caused by: java.lang.NoSuchMethodError: org.infinispan.manager.CacheManager.defineConfiguration(Ljava/lang/String;Ljava/lang/String;Lorg/infinispan/config/Configuration;)Lorg/infinispan/config/Configuration;
      at org.hibernate.cache.infinispan.InfinispanRegionFactory.defineGenericDataTypeCacheConfigurations(InfinispanRegionFactory.java:357)
      at org.hibernate.cache.infinispan.InfinispanRegionFactory.start(InfinispanRegionFactory.java:251)
      ... 25 more
      I see in source code of org.infinispan.manager.CacheManager class and the method defineConfiguration was delete .
      What can i do ? Create issue on Hibernate or Infinispan ?
      Regards,