1 Reply Latest reply on Aug 3, 2014 7:26 AM by wdfink

    Infinispan life span is not working.

    prateek12

      <subsystem xmlns="urn:jboss:domain:infinispan:1.2" default-cache-container="hibernate">

                  <cache-container name="hibernate" default-cache="local-query">

                      <local-cache name="entity">

                          <transaction mode="NON_XA"/>

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

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

                      </local-cache>

                      <local-cache name="local-query">

                          <transaction mode="NON_XA"/>

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

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

                      </local-cache>

                      <local-cache name="timestamps">

                          <transaction mode="NON_XA"/>

                          <eviction strategy="NONE"/>

                      </local-cache>

                  </cache-container>

              </subsystem>

       

      this is my configuration, there is any error in configuration