Key based Map Listener Fails To Reconnect After Losing Connection To Cluster (Doc ID 1922434.1)

Last updated on NOVEMBER 03, 2016

Applies to:

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

Symptoms

In Coherence, a key based MapListener can be registered with a cache. This listener only fires for the desired key have changes, see ObservableMap.addMapListener.

Key-based map listeners can stop receiving events under two scenarios:

  1. All the storage cache servers in the cluster are restarted while the storeage-disabled nodes, which have registered key-based map listeners, are left running.

  2. A client application is disconnected and re-connects through a different extend proxy.

Once these situations are encountered, the client that registered the map listener stops receiving events.  Note that the first scenario is highly unusual, and isn't typical of the normal production operation of a Coherence cluster.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms