-
1. Re: Problem calling RemoteCacheManager.getBasicCache().keySet() in compatibility mode over HotRod
erikpearson Aug 9, 2013 11:29 PM (in response to erikpearson)Note that the same or a similar issue is seen trying to call getBulk() on RemoteCache. The following exception is observed:
{code}
...
Caused by: org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for message id[138] returned server error (status=0x85): java.lang.ClassCastException: java.lang.Long cannot be cast to [B
at org.infinispan.client.hotrod.impl.protocol.Codec10.checkForErrorsInResponseStatus(Codec10.java:162)
at org.infinispan.client.hotrod.impl.protocol.Codec10.readHeader(Codec10.java:118)
at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:78)
at org.infinispan.client.hotrod.impl.operations.BulkGetOperation.executeOperation(BulkGetOperation.java:60)
at org.infinispan.client.hotrod.impl.operations.BulkGetOperation.executeOperation(BulkGetOperation.java:41)
at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:68)
at org.infinispan.client.hotrod.impl.RemoteCacheImpl.getBulk(RemoteCacheImpl.java:371)
at org.infinispan.client.hotrod.impl.RemoteCacheImpl.getBulk(RemoteCacheImpl.java:363)
at org.nmdp.haplogic.searchserver.cache.infinispan.RemoteCacheAdapter.getBulk(RemoteCacheAdapter.java:332)
at org.nmdp.haplogic.searchserver.cache.infinispan.InfinispanWebServiceCacheRepositoryImpl.getSearchList(InfinispanWebServiceCacheRepositoryImpl.java:156)
...
{code}
-
2. Re: Problem calling RemoteCacheManager.getBasicCache().keySet() in compatibility mode over HotRod
mgencur Aug 26, 2013 3:29 AM (in response to erikpearson)Hi,
could you post the server-side error too?
Thanks
Martin
-
3. Re: Problem calling RemoteCacheManager.getBasicCache().keySet() in compatibility mode over HotRod
jholusa Aug 26, 2013 9:25 AM (in response to erikpearson)Hi,
I've tested your situation and it looks like a bug. Please see this JIRA issue to be informed about progress: [#ISPN-3436] Not working RemoteManager.getBulk() and keySet() in compatibility mode - JBoss Issue Tracker