Translated message

A translation of this page exists in English.

異なる JDG バージョンの HotRod クライアントとサーバーを接続することはできますか?

Solution Verified - Updated -

Issue

  • HotRod クライアントで、JDG サーバーと異なるバージョンを使用することはできますか?
  • クライアントをアップデートしないで JDG サーバーを移行することはできますか?
  • HotRod クライアントとは異なるバージョンの JDG サーバーに接続することはできますか?
  • 以前のバージョンの HotRod クライアントは新しいバージョンのサーバーと互換性がありますか?
  • 新しい HodRod クライアントは以前のバージョンの JDG サーバーに接続できますか?
  • キャッシュにアクセスすると、クライアントでエラーが表示されます。
Exception in thread "main" org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for message id[2] returned server error (status=0x85): scala.MatchError: 20 (of class java.lang.Byte)
    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)
  • クライアントがキャッシュにアクセスすると、サーバーのログファイルでエラーが表示されます。
ERROR [org.infinispan.server.hotrod.HotRodDecoder] (HotRodServerWorker-16) ISPN005003: Exception reported: org.infinispan.server.hotrod.RequestParsingException: Unable to parse header
    at org.infinispan.server.hotrod.HotRodDecoder.readHeader(HotRodDecoder.scala:94) [infinispan-server-hotrod-5.2.4.Final-redhat-1.jar:5.2.4.Final-redhat-1]
    at org.infinispan.server.hotrod.HotRodDecoder.readHeader(HotRodDecoder.scala:45) [infinispan-server-hotrod-5.2.4.Final-redhat-1.jar:5.2.4.Final-redhat-1]
    at org.infinispan.server.core.AbstractProtocolDecoder.decodeHeader(AbstractProtocolDecoder.scala:94) [infinispan-server-core-5.2.4.Final-redhat-1.jar:5.2.4.Final-redhat-1]
    ...
Caused by: org.infinispan.server.hotrod.UnknownVersionException: Unknown version:20
    at org.infinispan.server.hotrod.HotRodDecoder.readHeader(HotRodDecoder.scala:80) [infinispan-server-hotrod-5.2.4.Final-redhat-1.jar:5.2.4.Final-redhat-1]
    ...22 more
ERROR [org.infinispan.server.hotrod.HotRodDecoder] (HotRodServerWorker-16) ISPN005009: Unexpected error before any request parameters read: scala.MatchError: 20 (of class java.lang.Byte)

Environment

  • Red Hat JBoss Data Grid (JDG)
    • 6.x
    • 7.x
  • Hot Rod クライアント

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content