Packet Speaker Thread in a Coherence Node Can Become Blocked Trying to Lock a java.lang.DatagramPacket When Using either Java 7u80 or Java 8u40 and Later (Doc ID 2023934.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Coherence - Version 12.1.3.0.0 to 12.1.3.0.2 [Release 12c]
Oracle Coherence - Version 12.1.2.0.0 to 12.1.2.0.4 [Release 12c]
Information in this document applies to any platform.

Symptoms

Issue encountered when running Coherence 12.1.2.0.x (where x=0,1,2,3,4) and 12.1.3.0.y (where y=0,1,2) and either Java 7u80 or Java 8u40 and higher, and the cluster is configured to use multicast and not well-known addresses (WKA) as the cluster discovery mechanism.

When the issue occurs a thread dump will show that either the publisher or speaker thread is waiting to lock an instance of java.net.DatagramPacket, which is not locked by any other thread, for example:

As a consequence of this other nodes will report communication issues with the node, potentially leading to its ejection from the 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