3 Replies Latest reply on Mar 15, 2016 7:31 AM by Wolf-Dieter Fink

    Problems persisting a replicated cache in WildFly 10

    Kim Lindberg Newbie

      I'm in progress of upgrading from JBoss 7.2 to WildFly 10, and most things have been ok.


      But now I have found out that the replicated infinispan cache which I have is not persisted to disk. There are no errors, but if I have just one server, and restart that server, the cache content is lost.


      I haven't made any major changes to the cache configuration (only removed start=EAGER since that is no longer supported)


      Here is my cache configuration:



                     <cache-container name="ivr-cache-container" default-cache="default" jndi-name="java:jboss/infinispan/ivr-cache-container">

                          <transport lock-timeout="60000"/>

                          <replicated-cache name="default" mode="SYNC">

                              <locking acquire-timeout="15000" concurrency-level="1000" isolation="REPEATABLE_READ" striping="false"/>

                              <file-store relative-to="jboss.server.data.dir" fetch-state="true" passivation="false" preload="true" purge="false" shared="false" singleton="false"/>