My Oracle Support Banner

Coherence port-auto-adjust Throws NullPointerException From FMW WLS Domain Coherence Cluster With -XX:+ResourceManagement (Doc ID 2830300.1)

Last updated on JANUARY 04, 2023

Applies to:

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


Cluster member unicast ports are automatically assigned from the operating system's available ephemeral port range. This ensures that Coherence cannot accidently cause port conflicts with other applications. However, if a firewall is required between cluster members (an atypical configuration),, then the port must be manually configured. 

When manually configuring unicast ports, a single port is specified and the second port is automatically selected. If either of the ports are not available, then the default behavior is to select the next available port. For example, if port 9000 is configured for the first port (port1) and it is not available, then the next available port is automatically selected. The second port (port2) is automatically opened and defaults to the next available port after port1 (port1 + 1 if available). Automatic port adjustment can be disabled; in this case, port1 must be available and the second port is always port1 + 1. Automatic port adjustment can also be used to specify the upper limit of the port range.





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

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