第 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:addaffinity=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
Copy to Clipboard Toggle word wrap

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)
Copy to Clipboard Toggle word wrap

临时解决方案

remote-cache-container 配置为使用 ProtoStream marshaller marshaller=PROTOSTREAM

配置示例:

/subsystem=infinispan/remote-cache-container=<RHDG_REMOTE_CACHE_CONTAINER_RESOURCE_NAME>:write-attribute(name=marshaller,value=PROTOSTREAM)
Copy to Clipboard Toggle word wrap

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部