5 Replies Latest reply on Jun 11, 2010 6:39 AM by Galder Zamarreño

    Infinispan on JBoss AS 5.1.0.GA

    Felix Reuthlinger Newbie

      Hi there,

       

      I was trying to get infinispan running on my JBoss AS 5.1.0.GA today. As I didn't find information on how to integrate infinispan into my existing application using the hibernate lvl2 cache with infinispan, I just added the maven dependency to the projects pom. It downloaded and built successfully, but as soon as I deploy it on the AS i get the following Exception:

       

      java.lang.ClassNotFoundException: org.hibernate.cache.infinispan.InfinispanRegionFactory

       

      Now I wondered if I need to use hibernate 3.5 and acording to this version the jboss 6.x? Or is it also possible to use infinispan with the older hibernate version with all the configs for using it as 2nd lvl cache as I just used jboss cache 3 before?

       

      Would maybe usefull to have at least some statement about these requirements at FAQs or somewhere else

       

      Regards,

      Felix