My Oracle Support Banner

Coherence Invocable CacheFactory.getService Throws Exception (Doc ID 3034818.1)

Last updated on JULY 16, 2024

Applies to:

Oracle Coherence - Version 12.2.1.4.20 and later
Information in this document applies to any platform.

Goal

When running an Invocable targeting storage nodes and calling CacheFactory.getService("[SERVICE-NAME]") it throws an exception:


Coherence is configured as part of WLS. The Gar modules are deployed to the WLS cluster.
But if CacheFactory.getCache(this.cacheName).getCacheService() is called, then it successfully returns the distributed cache service named "[SERVICE-NAME]".
This invocable runs against in Coherence Managed WL nodes (WL 12.2.1.4.3, with patched Coherence 12.2.1.4.20).
Why is CacheFactory.getService("[SERVICE-NAME]") failing ?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.