Oracle Coherence 中的错误 - "no storage-enabled nodes exist for service partitionedcache" 在生产中使用 Cohql 时

Error in Oracle Coherence - "no storage-enabled nodes exist for service partitionedcache" while using Cohql in production

我在 PartitionedCache 模式下使用 Oracle Coherence。我正在通过我的应用程序加载数据以进行缓存。为了检查和监控目的,我想在生产环境中使用 Cohql 查看缓存的内容。但是,当我使用 Cohql 查看缓存内容时,出现此错误 - "no storage-enabled nodes exist for service partitionedcache"。任何人都可以指出我在做什么错误吗?

我不想通过 Cohql 终端加载任何数据,我只想查看现有缓存的内容。

这是由于 Coherence/bin 文件夹的 query.sh 脚本中的参数 -Dcoherence.distributed.localstorage = false。 实现这一点解决了问题。