My Oracle Support Banner

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

Last updated on MAY 29, 2018

Applies to:

Oracle WebCenter Sites - Version 7.5.4 and later
Information in this document applies to any platform.
***Checked for relevance on 06-02-2014 ***


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

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


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

Immediate republish usually succeeds.


To view full details, 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 a vibrant support community of peers and Oracle experts.