This content has been marked as final.
Show 2 replies
-
1. Re: Multiple Local Cache's with File Stores
nadirx Nov 10, 2016 5:18 AM (in response to adam.mccormick)Default cache inheritance strikes back !
Please create an empty unused cache for the default cache and leave the other two as they are.<?xml version="1.0" encoding="UTF-8"?> <infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:infinispan:config:7.2 http://www.infinispan.org/schemas/infinispan-config-7.2.xsd" xmlns="urn:infinispan:config:7.2"> <cache-container default-cache="unused" statistics="false" > <jmx duplicate-domains="true"/> <local-cache name="unused" statistics="false" /> <local-cache name="repository" statistics="false"> <transaction mode="NON_XA" locking="OPTIMISTIC"/> <locking acquire-timeout="2000" /> <persistence passivation="false"> <file-store fetch-state="false" shared="false" preload="false" purge="false" path="${application.home}/data"/> </persistence> </local-cache> <local-cache name="binary" statistics="false"> <transaction mode="NON_XA" locking="OPTIMISTIC"/> <locking acquire-timeout="2000" /> <persistence passivation="false"> <file-store fetch-state="false" shared="false" preload="false" purge="false" path="${application.home}/binary"/> </persistence> </local-cache> </cache-container> </infinispan>
-
2. Re: Multiple Local Cache's with File Stores
vdzhuvinov Nov 14, 2016 8:52 AM (in response to nadirx)This is a nice trick / using default-cache="unused" /