This content has been marked as final.
Show 3 replies
-
1. Re: CacheLoader configuration in Infinispan 5.1.2
utk4rsh Mar 6, 2012 8:11 AM (in response to ursudheesh)Hi, Sudhesh.
I just tried the same, and its working. Probably the location parameter is wrong or you might have missed the transport tag details in the global tag.
Here's my config file:
<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"> <global> <transport transportClass="org.infinispan.remoting.transport.jgroups.JGroupsTransport"> <properties> <property name="configurationFile" value="jgroups.xml"/> </properties> </transport> </global> <namedCache name="CacheStore"> <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:\infinispan\store2e"/> </properties> </loader> </loaders> <jmxStatistics enabled="true" /> <storeAsBinary enabled="true" /> <clustering mode="distribution"> <stateRetrieval timeout="20000" fetchInMemoryState="true"/> <sync replTimeout="30000" /> </clustering> </namedCache> </infinispan>
-
2. Re: CacheLoader configuration in Infinispan 5.1.2
mmogley Mar 6, 2012 4:16 PM (in response to utk4rsh)It may be working, but the xsd seems to be wrong here. It seems that the class attribute type should be 'xsd:string'.
-
3. Re: CacheLoader configuration in Infinispan 5.1.2
galder.zamarreno Mar 7, 2012 9:01 AM (in response to mmogley)@Michael, indeed: https://issues.jboss.org/browse/ISPN-1902