第 7 章 已知问题
请参阅 Red Hat JBoss Enterprise Application Platform 8.0 的已知问题以查看本发行版本的已知问题列表。
7.1. Infinispan 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
在默认的非 HA 服务器配置上执行时,/subsystem=distributable-web/infinispan-session-managementPROFILE:add 操作可能会失败
- Issue - JBEAP-24997
-
/subsystem=distributable-web/infinispan-session-managementPROFILE:add操作会自动添加affinity=primary-owner子资源,它需要routing=infinispan资源。此操作可能会失败,因为默认的非 HA 服务器配置中没有定义所需的routing=infinispan资源。 - 临时解决方案
为避免这种无效的中间状态,请在批处理中执行
infinispan-session-management:add和affinity=local:add操作。Example:
batch /subsystem=distributable-web/infinispan-session-management=ism-0:add(cache-container=web,granularity=SESSION) /subsystem=distributable-web/infinispan-session-management=ism-0/affinity=local:add() run-batch -v
batch /subsystem=distributable-web/infinispan-session-management=ism-0:add(cache-container=web,granularity=SESSION) /subsystem=distributable-web/infinispan-session-management=ism-0/affinity=local:add() run-batch -vCopy to Clipboard Copied! Toggle word wrap Toggle overflow
HotRod 无法为 Infinispan 进行外部化创建分布式会话
- Issue - JBEAP-26062
涉及 Red Hat JBoss Enterprise Application Platform 8.0 和 Red Hat Data Grid on OpenShift Container Platform 的互操作性测试显示写入 Infinispan 远程缓存会导致内部服务器错误的问题。当
remote-cache-container配置为使用默认的 marshaller 时,JBoss Marshalling,缓存写入会导致 HotRod 抛出错误,因为只支持 byte[] 实例。错误消息示例:
Caused by: java.lang.IllegalArgumentException: Only byte[] instances are supported currently! at org.infinispan.client.hotrod@14.0.17.Final-redhat-00002//org.infinispan.client.hotrod.marshall.BytesOnlyMarshaller.checkByteArray(BytesOnlyMarshaller.java:27)
Caused by: java.lang.IllegalArgumentException: Only byte[] instances are supported currently! at org.infinispan.client.hotrod@14.0.17.Final-redhat-00002//org.infinispan.client.hotrod.marshall.BytesOnlyMarshaller.checkByteArray(BytesOnlyMarshaller.java:27)Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 临时解决方案
将
remote-cache-container配置为使用 ProtoStream marshallermarshaller=PROTOSTREAM:配置示例:
/subsystem=infinispan/remote-cache-container=<RHDG_REMOTE_CACHE_CONTAINER_RESOURCE_NAME>:write-attribute(name=marshaller,value=PROTOSTREAM)
/subsystem=infinispan/remote-cache-container=<RHDG_REMOTE_CACHE_CONTAINER_RESOURCE_NAME>:write-attribute(name=marshaller,value=PROTOSTREAM)Copy to Clipboard Copied! Toggle word wrap Toggle overflow