-
Bug
-
Resolution: Done
-
Major
-
3.0.7.Final
-
None
Caching implementation with Infinispan appears to be broken when configured with a persistent cache. The Infinispan configuration below results in the following exception:
org.infinispan.marshall.NotSerializableException: org.jboss.resteasy.plugins.cache.server.InfinispanCache$CacheEntry
infinispan.xml:
<infinispan
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:infinispan:config:5.1 http://www.infinispan.org/schemas/infinispan-config-5.1.xsd"
xmlns="urn:infinispan:config:5.1">
<namedCache name="MyCache">
<eviction strategy="LIRS" maxEntries="100" />
<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="C:/temp/test-rest/"/>
</properties>
</loader>
</loaders>
</namedCache>
</infinispan>