When using the following XML configuration (which is almost the same as the above!) I can find my entries in the store:
<?xml version="1.0" encoding="UTF-8"?>
<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:infinispan:config:6.0 http://www.infinispan.org/schemas/infinispan-config-6.0.xsd"
>
<!-- Using the cluster mode with grouping API-->
<global>
<globalJmxStatistics enabled="false" />
</global>
<default>
<!-- Enbaling eviction/expiration -->
<eviction strategy="LRU" maxEntries="2000" />
<expiration lifespan="1000" maxIdle="500" />
<jmxStatistics enabled="false" />
<clustering>
<hash>
<groups enabled="true" />
</hash>
</clustering>
</default>
<namedCache name="CacheStore">
<persistence passivation="false">
<singleFile fetchPersistentState="true"
ignoreModifications="false"
purgeOnStartup="false" location="${java.io.tmpdir}">
<async
enabled="true"
flushLockTimeout="15000"
threadPoolSize="5" />
</singleFile>
</persistence>
</namedCache>
</infinispan>