0 Replies Latest reply on Sep 29, 2016 6:51 PM by geturner

    Need help configuring authorization cache to use infinispan cache and its options

    geturner

      I have tried several configuration, nothing seems to work.  I have followed several blog topics with the same result.  Can anyone supply some examples of configuring cache to infinispan instead of default?

       

      in my standalone-full.xml:

       

      <security-domain name="jboss-web-policy" cache-type="default">  need to set cache-type to infinispan so that I can set these options (which I can't get to work at all!!!!)

       

              <subsystem xmlns="urn:jboss:domain:infinispan:4.0">

                  <cache-container name="server" default-cache="default" module="org.wildfly.clustering.server">

                      <local-cache name="default">

                          <transaction mode="BATCH"/>

                      </local-cache>

                  </cache-container>

                  <cache-container name="web" default-cache="passivation" module="org.wildfly.clustering.web.infinispan">

                      <local-cache name="passivation">

                          <locking isolation="REPEATABLE_READ"/>

                          <transaction mode="BATCH"/>

                          <eviction strategy="LRU" max-entries="1000"/>

                          <expiration lifespan="60000" max-idle="60000"/>

                          <file-store passivation="true" purge="false"/>

                      </local-cache>

                      <local-cache name="persistent">

                          <locking isolation="REPEATABLE_READ"/>

                          <transaction mode="BATCH"/>

                          <file-store passivation="false" purge="false"/>

                      </local-cache>

                  </cache-container>

                  <cache-container name="ejb" aliases="sfsb" default-cache="passivation" module="org.wildfly.clustering.ejb.infinispan">

                      <local-cache name="passivation">

                          <locking isolation="REPEATABLE_READ"/>

                          <transaction mode="BATCH"/>

                          <eviction strategy="LRU" max-entries="1000"/>

                          <expiration lifespan="60000" max-idle="60000"/>

                          <file-store passivation="true" purge="false"/>

                      </local-cache>

                      <local-cache name="persistent">

                          <locking isolation="REPEATABLE_READ"/>

                          <transaction mode="BATCH"/>

                          <file-store passivation="false" purge="false"/>

                      </local-cache>

                  </cache-container>

      :