My Oracle Support Banner

Publish intermittently fails due to javax.naming.ServiceUnavailableException when querying LDAP (Doc ID 1467144.1)

Last updated on JUNE 08, 2023

Applies to:

Oracle WebCenter Sites - Version 7.5.4 and later
Information in this document applies to any platform.

Symptoms

Publish intermittently fails due to this error in the logs on the target side:

javax.naming.CommunicationException: Connection timed out [Root exception is java.net.SocketException: Connection timed out]; remaining name 'ou=ACLs,dc=ABC,dc=MyCom'
at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1983)

and

2012-04-20 17:22:10,571 ERROR [com.fatwire.logging.cs.auth] - Exception thrown while logging user:fwadmin
com.openmarket.directory.DirectoryException: detail:javax.naming.ServiceUnavailableException: 192.168.1.123:389; socket closed; remaining name 'ou=USERS,dc=ABC,dc=MyCom'\nstack:javax.naming.ServiceUnavailableException: 192.168.1.123:389; socket closed; remaining name 'ou=USERS,dc=ABC,dc=MyCom'
at com.sun.jndi.ldap.Connection.readReply(Connection.java:423)
at com.sun.jndi.ldap.LdapClient.getSearchReply(LdapClient.java:611)
at com.sun.jndi.ldap.LdapClient.search(LdapClient.java:534)
at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1965)

Immediate republish usually succeeds.

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.