【问题标题】:Error in Oracle Coherence - "no storage-enabled nodes exist for service partitionedcache" while using Cohql in productionOracle Coherence 中的错误 - 在生产中使用 Cohql 时“服务分区缓存不存在启用存储的节点”
【发布时间】:2020-06-07 08:50:20
【问题描述】:
我在 PartitionedCache 模式下使用 Oracle Coherence。我正在通过我的应用程序将数据加载到缓存中。出于检查和监控的目的,我想在生产环境中使用 Cohql 来查看缓存的内容。但是,当我使用 Cohql 查看缓存内容时,我收到此错误 - “服务分区缓存不存在启用存储的节点”。谁能指出我做错了什么?
我不想通过 Cohql 终端加载任何数据,我只想查看现有缓存的内容。
【问题讨论】:
标签:
caching
oracle-coherence
distributed-cache
【解决方案1】:
这是由于 Coherence/bin 文件夹的 query.sh 脚本中的这个参数 -Dcoherence.distributed.localstorage = false 造成的。
实现这一点解决了问题。