0 Replies Latest reply on Apr 28, 2015 2:17 AM by prasad gunti

    How to write own custom cache store for infinispan

    prasad gunti Newbie

      Hi,

       

      I would like to implement own custom cache store for NoSql db like aerospike and configure that cache store in jboss standalone.xml.

       

      I cloned a cache store which is already exists in git(like cassendra-cache-store ) and tried to build in my local environment, but i am not able to build getting lot of compilation errors.

      In some cases after configuring cache-store i am getting error like

       

      11:09:17,195 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 29) JBAS014613: Operation ("add") failed - address: ([

          ("subsystem" => "infinispan"),

          ("cache-container" => "web"),

          ("distributed-cache" => "dist")

      ]) - failure description: "JBAS010292: org.infinispan.persistence.cloud.CloudStore is not a valid cache store"

       

      I would like to know

      1. How to Implement cache store for infinispan ?, what classes i need to implement ?, what dependencies i have to put in pom?
      2. Why jboss saying not a valid cache store for some cache stores, what exactly jboss is checking whether configured cache store is valid or not?

       

       

      Thanks in advance.