My Oracle Support Banner

ODSM Login Fails with "Bind Failed" Or "Server <Host>:<Port> has failed SSL verification." Log Error: Root exception is java.net.ConnectException: Connection refused (Doc ID 2073746.1)

Last updated on SEPTEMBER 05, 2018

Applies to:

Oracle Internet Directory - Version 11.1.1 and later
Information in this document applies to any platform.

Symptoms

Oracle Internet Directory (OID) 11g, e.g., 11.1.1.7.0 servers in High Availability (HA) cluster configuration.

After Operating System (OS) patches were applied and the system was rebooted, most systems are working except for one which errors on logging from Oracle Directory Services Manager (ODSM):

Server myoidhost.example.com:3131 has failed SSL verification. This may be due to a host address or port problem or trust could not be verified or was declined.

The wls_ods1-diagnostic.log shows:

[2015-09-17T16:04:16.317-05:00] [wls_ods1] [ERROR] [] [oracle.ldap.odsm.ui.common.Login] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: <ecid string>] [APP: odsm#11.1.1.2.0] [DSID: <DSID string>] Connection refused[[
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:570)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:371)
at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:71)
at oracle.ldap.odsm.model.oid.ODSMSSLSocketFactory.getServerCert(ODSMSSLSocketFactory.java:209)
at oracle.ldap.odsm.ui.common.Login.createTrustConnection(Login.java:798)
at oracle.ldap.odsm.ui.common.Login.saveChanges(Login.java:219)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

...<etc, etc>...


Or ODSM fails with:

Bind Failed. Host='myoidhost.example.com' Details: myoidhost.example.com:3060

And log error:

<Aug 16, 2018 7:12:58 AM IST> <Error> <oracle.ldap.admin.ServerAccessWrappersJNDI> <BEA-000000> < [ODSM-00003] Bind failed.>
<Aug 16, 2018 7:12:58 AM IST> <Error> <oracle.ldap.admin.ServerAccessWrappersJNDI> <BEA-000000> <myoidhost.example.com:3060
javax.naming.CommunicationException: myoidhost.example.com:3060 [Root exception is java.net.ConnectException: Connection refused]
       at com.sun.jndi.ldap.Connection.<init>(Connection.java:199)
       at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:116)
       at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1582)
       at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2678)
       at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:296)
       at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
       at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
       at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
       at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
       at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
       at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
       at javax.naming.InitialContext.init(InitialContext.java:223)
       at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)
       at oracle.ldap.admin.ServerAccessWrappersJNDI.connect(ServerAccessJNDI.java:904)
       at oracle.ldap.admin.ServerAccessJNDI.connect(ServerAccessJNDI.java:2705)
       at oracle.ldap.admin.ServerAccessWrappersJNDI.connect(ServerAccessJNDI.java:758)
       at oracle.ldap.admin.ServerAccessJNDI.connect(ServerAccessJNDI.java:2705)
       at oracle.ldap.admin.Root.connect(Root.java:1201)
       at oracle.ldap.odsm.model.oid.OIDRoot.connect(OIDRoot.java:181)
       at oracle.ldap.odsm.ui.common.Connection.connect(Connection.java:136)
       at oracle.ldap.odsm.ui.common.Visit.createConnection(Visit.java:857)
       at oracle.ldap.odsm.ui.common.Visit.createConnection(Visit.java:736)
       at oracle.ldap.odsm.ui.common.Login.saveChanges(Login.java:223)

 

Changes

 

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
Changes
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.