PR for jdg-6.4.x avaialble here: https://github.com/jboss-developer/jboss-jdg-quickstarts/pull/71
Tried this with CR2 and the quickstart is throwing an exception: INFO: ISPN004021: Infinispan version: 6.2.0.Final-redhat-2 Available actions: 0. Display available actions 1. Add person 2. Remove person 3. Add phone to person 4. Remove phone from person 5. Query persons by name 6. Query persons by phone 7. Add memo 8. Query memo by author 9. Display all cache entries 10. Quit > 1 Enter person id (int): 10 Enter person name (string): Martin Gencur Enter person email (string): mgencur > 7 Enter memo id (int): 11 Enter memo text (string): My memo Enter priority [LOW, HIGH, WHATEVER]: HIGH Enter author id (int): 10 > Person{id=10, name='Martin Gencur', email='mgencur', phones=[]} > 8 Enter person name pattern: Gencur Jan 16, 2015 1:45:21 PM org.infinispan.client.hotrod.impl.protocol.Codec20 checkForErrorsInResponseStatus WARN: ISPN004005: Error received from the server: java.lang.IllegalArgumentException: Field author.name from type quickstart.Memo is not indexed org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for message id[10] returned server error (status=0x85): java.lang.IllegalArgumentException: Field author.name from type quickstart.Memo is not indexed at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:298) at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:88) at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:74) at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56) at org.infinispan.client.hotrod.impl.operations.QueryOperation.executeOperation(QueryOperation.java:57) at org.infinispan.client.hotrod.impl.operations.QueryOperation.executeOperation(QueryOperation.java:24) at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:50) at org.infinispan.client.hotrod.impl.query.RemoteQuery.executeQuery(RemoteQuery.java:72) at org.infinispan.client.hotrod.impl.query.RemoteQuery.list(RemoteQuery.java:62) at org.jboss.as.quickstarts.datagrid.hotrod.query.AddressBookManager.queryMemoByAuthor(AddressBookManager.java:273) at org.jboss.as.quickstarts.datagrid.hotrod.query.AddressBookManager.main(AddressBookManager.java:316) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297) at java.lang.Thread.run(Thread.java:722)
The is caused by a problem in infinispan, not the quickstart: https://issues.jboss.org/browse/ISPN-5149
The root cause will be solved as https://bugzilla.redhat.com/show_bug.cgi?id=1183322
The only dependency of this (BZ1183322) is in POST. Moving this one to POST as well.