2 Replies Latest reply on Mar 20, 2012 4:55 AM by venkataratnamteki

    Cache loader class attribute is treated as Integer

    venkataratnamteki

      I am trying to do a sample program with Infinispan with Spring Cache abstraction support.

       

      In infinispan-config.xml, i am defining a cache namedCache like below. But i am getting an error saying

       

       

      Multiple annotations found at this line:

       

      - Start tag of element <loader>

      - cvc-datatype-valid.1.2.1: 'org.infinispan.loaders.file.FileCacheStore' is not a valid value for 'integer'.

      - cvc-attribute.3: The value 'org.infinispan.loaders.file.FileCacheStore' of attribute 'class' on element 'loader' is not valid with respect to its

        type, 'int'.

       

      <namedCache name="books">

      <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="D:\store" />

       

      </properties>

       

      </loader>

       

      </loaders>

      </namedCache>

       


      I googled this exception, and got some reference saying this is release-noted. ( https://issues.jboss.org/browse/ISPN-1902 )

       

      When can i expect 5.1.3 to be release?

       

      If its going to be late, using infinispan along with spring would be impossible with the current version right?