3 Replies Latest reply on Mar 19, 2018 6:25 AM by ryanemerson

    Infinispan 9.x Wildfly/EAP modules on Wildfly 11 cause errors on startup (SASL, reloadRequired)

    silvaran

      I followed the instructions for installing the latest Infinispan as a module into Wildfly 11: Infinispan 9.1 User Guide  (21. Integrations -> 21.9 Infinispan modules for WildFly -> 21.9.3 Usage--Server Mode).  The first error I get on startup is ModuleNotFoundException: org.jboss.sasl.

       

      I commented out the sasl dependency in module.xml of org.infinispan.server.endpoint and org.jgroups.extension.  When I have a cache-container defined in my standalone.xml, I now get:

       

      13:59:06,547 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 49) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "datagrid-infinispan"),
          ("cache-container" => "mycontainer"),
          ("configurations" => "CONFIGURATIONS")
      ]): java.lang.IllegalStateException
              at org.jboss.as.controller.ParallelBootOperationContext.getManagementModel(ParallelBootOperationContext.java:133)
              at org.jboss.as.controller.AbstractOperationContext.reloadRequired(AbstractOperationContext.java:1122)
              at org.jboss.as.clustering.infinispan.subsystem.CacheConfigOperationHandlers$CacheConfigAdd.performRuntime(CacheConfigOperationHandlers.java:90)

       

      With a simple definition:

         <subsystem xmlns="urn:infinispan:server:core:9.0">

            <cache-container name="mycontainer" module="org.infinispan.extension:ispn-9.1">

            </cache-container>

         </subsystem>

       

      Is Wildfly 11 supported with Infinispan 9.x?  I tried 9.2.0.Beta1 and get the same results.