0 Replies Latest reply on Nov 6, 2019 2:58 AM by ALE kava

    File Store not storing anything but "FCS1"

    ALE kava Newbie

      Good morning,

      I am trying to use infinispan 9.1 caching but something may be wrong in file-store configuration because (with passivation enabled or not) the file is created, but contains only "FCS1" string...

       

      here's my xml

       

      <?xml version="1.0" encoding="UTF-8"?>

      <infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

      xsi:schemaLocation="urn:infinispan:config:9.1 http://www.infinispan.org/schemas/infinispan-config-9.1.xsd"

      xmlns="urn:infinispan:config:9.1">

      <cache-container default-cache="default">

      <transport cluster="api-cache" />

       

       

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

       

       

      <expiration lifespan="3600000" max-idle="1800000" interval="60000" />

      <memory>

      <off-heap size="2" eviction="COUNT"/>

      </memory>

      <persistence passivation="true">

      <file-store purge="true" path="/home/api-cache" />

      </persistence>

      </replicated-cache-configuration>

       

       

      <replicated-cache name="default" configuration="cache-default" />

       

       

      </cache-container>

      </infinispan>

       

      Any ideas ?

      Thanks in advance.