7 Replies Latest reply on Jul 31, 2012 11:07 AM by mircea.markus

    how to  set infinispan filestore to store changs (5.0.1.FINAL)

    alon.marom

      Hey,

      When I use the following configuration , the cache creates a file when the object is created

      but not when I change it :-(

       

       

          <namedCache name="my cache
      < loaders passivation="false" shared="false" preload="true">
                  <loader class="org.infinispan.loaders.file.FileCacheStore" fetchPersistentState="true"
                          ignoreModifications="false" purgeOnStartup="false">

                  <properties>
                      <property name="location" value="/usr/cache"/>
                  </properties>
                    </loader>
              </loaders>
          </namedCache>

       

      I also tried adding

       

      <property name="fsyncMode" value="perWrite"/>

       

      still didnot work

      Any ideas ?

       

      Thanks,

      A