1 Reply Latest reply on Dec 17, 2019 7:45 AM by galder.zamarreno

    File Store not storing anything but "FCS1"

    alessandro.cavalli

      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.