My Oracle Support Banner

MSS Cartridge: Exhausted Ports and/or Threads, Out of Memory- java.net.BindException: PortRangeSocketFactory: no free port between {NBR} and {NBR} (Doc ID 2767725.1)

Last updated on APRIL 15, 2021

Applies to:

Oracle Communications Network Integrity - Version 7.3.6.0.0 and later
Oracle Communications MetaSolv Solution - Version 6.3.1 and later
Information in this document applies to any platform.

Symptoms

A Socket Factory range of 20 ports was configured between Network Integrity (NI) and MetaSolv Solution (MSS). On the 3rd device discrepancy, a BindException is thrown when attempting to connect to the MSS server because there are no free ports.  They have not been released - "java.net.BindException: PortRangeSocketFactory: no free port between 42970 and 42990". After five connection retry attempts, a "org.omg.CORBA.TRANSIENT" error is thrown for retries exceeded.

NOTE: The behavior may be experienced as an out of memory, or, exhausted thread problem (java.lang.OutOfMemoryError: unable to create new native thread) running in environments where the Socket Factory range ports has not been restricted.



jacorb.properties configuration

 

Cause

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
Symptoms
Cause
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.