[infinispan-issues] [JBoss JIRA] (ISPN-5846) RemoteCache always returns null when store-as-binary is enabled.

Mark K (JIRA) issues at jboss.org
Thu Oct 8 10:21:00 EDT 2015


Mark K created ISPN-5846:
----------------------------

             Summary: RemoteCache always returns null when store-as-binary is enabled.
                 Key: ISPN-5846
                 URL: https://issues.jboss.org/browse/ISPN-5846
             Project: Infinispan
          Issue Type: Bug
          Components: Remote Protocols
    Affects Versions: 7.2.5.Final
         Environment: Linux, JDK 7.0_51

Using JVM running an embedded cache manager and a HotRod server and a client connecting to the cluster VM using HotRod and RemoteCache.

*Relevant Libs:*
infinispan-client-hotrod-7.2.4.Final.jar
infinispan-commons-7.2.4.Final.jar
infinispan-core-7.2.4.Final.jar
infinispan-server-core-7.2.4.Final.jar
infinispan-server-hotrod-7.2.4.Final.jar
jboss-logging-3.2.1.Final.jar
jboss-marshalling-1.4.10.Final.jar
jboss-marshalling-river-1.4.10.Final.jar
jboss-transaction-api_1.1_spec-1.0.1.Final.jar

            Reporter: Mark K
         Attachments: CacheClientIssue-Client.txt, CacheClientIssue-Server.txt, Infinispan.xml

I have a problem I've been unable to solve. Basically, my RemoteCache always returns a MarshalledValue and its get() always returns null. The MarshalledValue receives a stream of bytes that is over 1000 bytes, but the value is always null. The prior check to determine if the key is in the cache returns true, and in the server log, I can see that the model is being serialized for the client in the server log. I am unable to determine why the MarshalledValue always returns null when the object is is received by the client (or so it seems).

Attached are two TRACE logs (client and server) and the infinispan.xml config we use. We are on Infinispan 7.2.5, though I also tested with 6.x and had same results. We have Compatibility mode enabled and Store-As-Binary.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list