【发布时间】:2022-01-27 02:51:53
【问题描述】:
我目前在 JBoss 7.4 Standalone.xml 中配置了我的缓存容器,并在 localhost 上运行了 ISPN 远程服务器。一切都很好,直到它抛出错误:
ISPN000492:在“application/x-jboss-marshalling”到“application/x-protostream”之间找不到转码器
standalone.xml:
<remote-cache-container name="remoteContainer" default-remote-cluster="data-grid-cluster">
<property name="infinispan.client.hotrod.sasl_mechanism">SCRAM-SHA-512</property>
<property name="infinispan.client.hotrod.auth_realm">default</property>
<property name="infinispan.client.hotrod.auth_username">admin</property>
<property name="infinispan.client.hotrod.auth_password">12345</property>
<property name="infinispan.client.hotrod.client_intelligence">BASIC</property>
<remote-clusters>
<remote-cluster name="data-grid-cluster" socket-bindings="ispn1 ispn2"/>
</remote-clusters>
</remote-cache-container>
ISPN 缓存配置:
{ “分布式缓存”:{ “模式”:“同步”, “所有者”:2, “编码”:{ “钥匙”: { “媒体类型”:“应用程序/x-protostream” }, “价值”: { “媒体类型”:“应用程序/x-protostream” } }, “到期”:{ “寿命”:5000, “最大空闲”:1000 }, “统计”:真 } }
注意:我不想更改缓存编码,因为 infinispan Web 控制台停止工作
【问题讨论】:
标签: caching marshalling infinispan hot-rod