I have explored those links earlier, they are for embedded mode, as I understand those examples and documentation are for configuring cassandra in infinispan.xml not in JBoss Wildfly standalone.xml of domain.xml. If we do use the same configuration, server throws xml validation error
Is it (configuring Cassandra as data store in client server mode) something supported by Infinispan out of the box? or we need to build custom cache store and configurator?
Regarding to configuration, you should use the 'generic' one (the one with properties instead of custom XML elements). This should validate fine against WildFly.
Next, you would need to deploy the Cassandra Cache Store to the Infinispan Server ($ISPN/standalone/deployments). Those are called Deployable Cache Stores. Unfortunately due to ISPN-7342, the server won't discover it. Would you like to contribute a patch to fix it?
I am able to configure Infiinispan with Cassandra, further testing is pending.
In the mean time, I have created pull request with patch for the issue [ISPN-7342] Cassandra Cache Store is missing Custom Cache Store service manifest - JBoss Issue Tracker
Can you please provide the configuration and step by step guide to configure Casssandra cache store to Infinispan (client-server) mode . I am stuck in between and not able to proceed further. Following things have done till now ?
1) Downloaded and installed "infinispan-server-8.2.8.Fina" server and Cassandra is running locally in windows machine
2) added the following XML to standalone.xml under "urn:infinispam:server:core:8.2"
<locking striping="false" acquire-timeout="30000" concurrency-level="1000"/>
<store name="cassstore1" class="org.infinispan.persistence.cassandra.CassandraStore" shared="true" passivation="false">
<property name="autoCreateKeyspace"> true</property>
<property name="entryTable"> entries1</property>
<property name="consistencyLevel">LOCAL_ONE </property>
3) Added "infinispan-cachestore-cassandra-8.4.0.Final-redhat-2.jar" jar under standalone\deployments folder - getting exception - "Caused by: java.lang.NoClassDefFoundError: com/datastax/driver/core/Statement"
- From Exception i can understand cachestore not able to find the cassandra driver related java classes. so placed "cassandra-driver-core-3.0.0.redhat-1" jars under standalone\ext\lib and also created modules , but either didn't work.
Please help me where it has gone wrong ?