Initializing DatagramSocket Class In Java Stored Procedure Fails With "bad file descriptor" In 12.2.0.1

(Doc ID 2366493.1)

Last updated on MAY 19, 2018

Applies to:

Oracle Database - Standard Edition - Version 12.2.0.1 to 12.2.0.1 [Release 12.2]
Information in this document applies to any platform.

Symptoms

Initializing DatagramSocket Class in a Java Stored Procedure (JSP) fails with below error at run time.

ORA-29532: Java call terminated by uncaught Java exception:
java.net.SocketException: close() failed, errno = 9
Bad file descriptor

Issue can be reproduced with below sample code:

 

Changes

Database Upgraded to 12.2.0.1.

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