Hide Forgot
project_key: EDG Stack trace: Starting HotRodClientTest Exception in thread "main" org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for message id[2] returned server error (status=0x84): org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'sampleReplicatedCache' not found amongst the configured caches at org.infinispan.client.hotrod.impl.operations.HotRodOperation.checkForErrorsInResponseStatus(HotRodOperation.java:130) at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:98) at org.infinispan.client.hotrod.impl.operations.BulkGetOperation.executeOperation(BulkGetOperation.java:35) at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:38) at org.infinispan.client.hotrod.impl.RemoteCacheImpl.getBulk(RemoteCacheImpl.java:312) at org.infinispan.client.hotrod.impl.RemoteCacheImpl.getBulk(RemoteCacheImpl.java:305) at HotRodClientTest.main(HotRodClientTest.java:65) Steps to reproduce the bug: 1) Create a configuration for a server - datagrid1.xml > cp $JBOSS_DATAGRID/standalone/configuration/standalone.xml $JBOSS_DATAGRID/standalone/configuration/datagrid1.xml > edit datagrid1.xml to add properties for jboss.infinispan.hotrod.server.host and jboss.infinispan.memcached.server.host to bind to correct host (in my case 192.168.0.100) > edit $JBOSS_DATAGRID/bin/standalone.conf to add -Djava.net.preferIPv4Stack=true to JAVA_OPTS 2) Do the same/similar for datagrid2.xml. 3) Start the two AS7 servers: > $JBOSS_DATAGRID/bin/standalone.sh -server-config datagrid1.xml > $JBOSS_DATAGRID/bin/standalone.sh -server-config datagrid2.xml Accessing a default cache this way works just fine.
Release Notes Text: Added: I'm sorry, I was told to create the JIRA, I didn't check whether it exists already. Closing
Release Notes Text: Removed: I'm sorry, I was told to create the JIRA, I didn't check whether it exists already. Closing Docs QE Status: Removed: NEW