My Oracle Support Banner

OID DIP: DIP-10534 / Connection Refused Error from DIP to OID / Root exception is java.net.ConnectException: Connection refused (Doc ID 1994322.1)

Last updated on APRIL 26, 2023

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 or 12c with Directory Integration Platform (DIP) installed.

Using dipStatus shows "Connection Refused" error.

If using DIP in High Availability (HA), it may occur in only one of the nodes.

Also, dipStatus shows that ODIP is down on that server:

$ORACLE_HOME/bin/dipStatus -h <WLS_HOSTNAME> -p <WLS_MANAGED_SERVER_PORT> -D <WLS_USERID>
[... password]
Connection parameters initialized.
Connecting at <WLS_HOSTNAME>:<PORT>, with userid "<WLS_USERID>"..
Connected successfully.

ODIP Application is down at this host and port.

  
And Quartz Scheduler and MBeans shows down on the Enterprise Manager (EM) console.

Potential DIP log error:

[2015-03-29T09:08:24.677-05:00] [wls_ods1] [ERROR] [] [oracle.dip] [tid: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Connection to LDAP server failed - Check configuration of DIP server.
[2015-03-29T09:08:24.677-05:00] [wls_ods1] [ERROR] [] [oracle.dip] [tid: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Directory Integration Platform is not able to get the context with the given details : OID host: <OID_HOSTNAME> Port: <OID_LDAP_SSL_PORT> SSL mode:1.
[2015-03-29T09:08:24.678-05:00] [wls_ods1] [ERROR] [DIP-10534] [oracle.dip] [tid: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Error in completing one iteration of synchronization profile.[[
java.rmi.RemoteException: EJB Exception: ; nested exception is:
javax.naming.CommunicationException: <OID_HOSTNAME>:<OID_LDAP_SSL_PORT> [Root exception is java.net.ConnectException: Connection refused]
at weblogic.ejb.container.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:108)
at weblogic.ejb.container.internal.BaseRemoteObject.handleSystemException(BaseRemoteObject.java:857)
at weblogic.ejb.container.internal.BaseRemoteObject.handleSystemException(BaseRemoteObject.java:809)
at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:518)
at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:49)
at weblogic.ejb.container.internal.BaseRemoteObject.__WL_postInvokeTxRetry(BaseRemoteObject.java:444)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:53)
at oracle.ldap.odip.web.DIPSync_2r3ocw_EOImpl.initialize(Unknown Source)
at oracle.ldap.odip.web.SyncQuartzJobImpl.execute(SyncQuartzJobImpl.java:175)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: javax.naming.CommunicationException: <OID_HOSTNAME>:<OID_LDAP_SSL_PORT> [Root exception is java.net.ConnectException: Connection refused]
at com.sun.jndi.ldap.Connection.<init>(Connection.java:214)
at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:136)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1600)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2698)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:316)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
at javax.naming.InitialContext.init(InitialContext.java:242)
at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:153)
at oracle.ldap.odip.util.DirUtils.getInitialLdapContext(DirUtils.java:378)
at oracle.ldap.odip.util.DirUtils.getOIDContext(DirUtils.java:222)
at oracle.ldap.odip.web.DIPSyncBean.initialize(DIPSyncBean.java:234)
at oracle.ldap.odip.web.DIPSync_2r3ocw_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
... 4 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:407)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88)
at oracle.ldap.odip.util.DIPSSLSocketFactory.createSocket(DIPSSLSocketFactory.java:124)
at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.jndi.ldap.Connection.createSocket(Connection.java:331)
at com.sun.jndi.ldap.Connection.<init>(Connection.java:201)
... 21 more

]]


Or:

[2020-02-18T23:09:27.554+04:00] [wls_ods1] [ERROR] [] [org.quartz.core.ErrorLogger] [tid: DefaultQuartzScheduler_QuartzSchedulerThread] [userId: <anonymous>] [ecid: <ecid>] [APP: DIP#11.1.1.2.0] An error occured while releasing trigger 'DEFAULT.update'[[
org.quartz.JobPersistenceException: Error while releasing acquired trigger [See nested exception: javax.naming.CommunicationException: <OID_HOSTNAME>:<OID_NONSSL_PORT> [Root exception is java.net.ConnectException: Connection refused]]
at oracle.ldap.odip.web.LDAPJobStore.releaseAcquiredTrigger(LDAPJobStore.java:1758)
at org.quartz.core.QuartzSchedulerThread.releaseTriggerRetryLoop(QuartzSchedulerThread.java:481)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:342)
Caused by: javax.naming.CommunicationException: <hostname>:<port> [Root exception is java.net.ConnectException: Connection refused]
at com.sun.jndi.ldap.Connection.<init>(Connection.java:226)
at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:136)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1608)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2698)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:316)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
at javax.naming.InitialContext.init(InitialContext.java:242)
at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:153)
at oracle.ldap.odip.util.AutoReconnectContext.<init>(AutoReconnectContext.java:72)
at oracle.ldap.odip.util.AutoReconnectInitialContextFactory.getInitialContext(AutoReconnectInitialContextFactory.java:19)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
at javax.naming.InitialContext.init(InitialContext.java:242)
at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:153)
at oracle.ldap.odip.util.DirUtils.getInitialLdapContext(DirUtils.java:434)
at oracle.ldap.odip.util.DirUtils.getOIDContext(DirUtils.java:256)
at oracle.ldap.odip.web.LDAPJobStore.getDirContext(LDAPJobStore.java:1910)
at oracle.ldap.odip.web.LDAPJobStore.releaseAcquiredTrigger(LDAPJobStore.java:1709)
... 2 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:208)
at com.sun.jndi.ldap.Connection.createSocket(Connection.java:368)
at com.sun.jndi.ldap.Connection.<init>(Connection.java:203)
... 24 more

]]

[2020-02-18T23:09:27.553+04:00] [wls_ods1] [ERROR] [] [oracle.dip] [tid: DefaultQuartzScheduler_QuartzSchedulerThread] [userId: <anonymous>] [ecid: <ecid>] [APP: DIP#11.1.1.2.0] Directory Integration Platform is not able to get the context with the given details : OID host: <OID_HOSTNAME>:<OID_NONSSL_PORT> SSL mode:0.

 

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.