Hide Forgot
++ This bug is a clone of bug 745885 ++ project_key: EDG The unreleased version of EDG 6.0.0 Alpha I am using is edg6-ispn-5.0.0-SNAPSHOT-110601-0842.zip. Steps to reproduce ------------------ 1. Create 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) > also change the default interface in datagrid1.xml to point to the same IP address > edit cp $JBOSS_DATAGRID/bin/standaline.conf to add -Djava.net.preferIPv4Stack=true to JAVA_OPTS Do the same/similar for datagrid2.xml on a second IP address (e.g. 192.168.0.101) 2. Start the servers: > $JBOSS_DATAGRID/bin/standalone.sh -server-config datagrid1.xml > $JBOSS_DATAGRID/bin/standalone.sh -server-config datagrid2.xml Even though sampleReplicatedCache is defined in $JBOSS_DATAGRID/standalone/configuration/infinispan-configuration.xml, I cannot access that named cache: > ./execute.sh HotRodClientTest getKeys 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) Accessing the default cache using the same mechanism works. HotRodClientTest is a hacked-together program which allows me to perform basic requests (put, add, size, getKeys) on HotRod server modules.
Where can I get the HotRodTestClient and execute.sh?
Attaching in a few minutes....
Attachment: Added: HotRodClientTest.java Attachment: Added: compile.sh Attachment: Added: execute.sh
Here is what I do: 1. Start the EDG server instance 2. compile the test pgm > ./compile.sh HotRodClientTest.java 3. execute the test pgm ./execute.sh HotRodClientTest add a 1 // add a key called a with value 1 Mb ./execute.sh HotRodClientTest size // call size on the cache ./execute.sh HotRodClientTest getKeys // return keys in the cache ...
Fixed. Removing 'Fix version' because there is no point specifying it for the bug that didn't even exist in the previous release.
Hi Trustin 1. What was the resolution? 2. Can we please keep the Fix Versions EDG 6.0.0. Alpha in place, otherwise we are just throwing this information out into the JIRA ether and we're back where started - no decent tracking of issues discovered which apply to the Alpha release. Why should we not record issue information for a targetted release just because there was no previous released version?
Docs QE Status: Removed: NEW