2 Replies Latest reply on Aug 2, 2017 1:38 AM by Sebastian Łaskawiec

    How to create Deployable Cache store and deploy to infinispan server\standalone\deployments

    jagadeesh sivasankaran Newbie

      I am looking for the configuration-guide to build a deployable cache store for cassandra. i just downloaded the "cassandra-driver-core-3.0.0.redhat-1.jar"  file from mvn repostiory and placed under deployment folder. but it is getting Exception becuase the jardoesn't contain cassandra driver classes. so how can i create deploy-able cassandra-cache-store with dependent jars ?

       

      Caused by: java.lang.NoClassDefFoundError: com/datastax/driver/core/Statement

              at java.lang.Class.getDeclaredConstructors0(Native Method)

              at java.lang.Class.privateGetDeclaredConstructors(Class.java:2663)

              at java.lang.Class.getConstructor0(Class.java:3067)

              at java.lang.Class.getConstructor(Class.java:1817)

              at org.jboss.as.clustering.infinispan.cs.deployment.AbstractCacheStoreExtensionProcessor.addServices(AbstractCacheStoreExtensionProcessor.java:50)

              at org.jboss.as.clustering.infinispan.cs.deployment.AbstractCacheStoreExtensionProcessor.deploy(AbstractCacheStoreExtensionProcessor.java:34)

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)

              ... 5 more

       

      I have downlaoded the sourcecode from git "GitHub - infinispan/infinispan-cachestore-cassandra: Infinispan Cassandra Cache Store " and how to build it as deployable cache store ?