1 Reply Latest reply on Jun 4, 2018 5:15 AM by galder.zamarreno

    WildFly 13, Hibernate 5.3 and Infinispan question

    seto

      The Infinispan embedded in WildFly 13 is not with full feature.

      My project uses Infinispan Query and CDI.

      So I place the Infinispan WildFly module in it.

      modules\system\layers\base\org\infinispan\hibernate-cache\main\module.xml

          <dependencies>

              <module name="org.hibernate"/>

              <module name="javax.api"/>

              <module name="javax.transaction.api"/>

              <module name="org.hibernate.jipijapa-hibernate5" services="import"/>

              <module name="org.infinispan" services="import"/>

              <module name="org.infinispan.commons"/>

              <module name="org.jboss.as.jpa.spi"/>

              <module name="org.jboss.logging"/>

          </dependencies>

      If I changed the Infinispan here to :ispn-9.2, it will report problem.

      Do I need to change this to :ispn-9.2?

        • 1. Re: WildFly 13, Hibernate 5.3 and Infinispan question
          galder.zamarreno

          Infinispan shipped with Wildfly is limited to internal Wildfly needs.

           

          If you want to create your own Infinispan caches, add query or inject CDI, you should be shipping your own Infinispan jars within your deployment(s) and use those. This is much easier to achieve than trying to change the Wildfly's module structure.