LDAP JDBC Connection Fails With oracle.net.ns.NetException: JNDI Package failure javax.naming.ServiceUnavailableException: :<PORT>; socket closed
(Doc ID 2897779.1)
Last updated on SEPTEMBER 22, 2022
Applies to:
JDBC - Version 12.1.0.1.0 and laterInformation in this document applies to any platform.
Symptoms
When trying to use the below LDAP JDBC URL to connect to the database, the connection fails with error:
oracle.net.ns.NetException: JNDI Package failure javax.naming.ServiceUnavailableException: :1521; socket closed
The URL that fails is:
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 |