The Inactivity Timeout of LDAP Load Balancer Causes JAZN-LDAP Applications to Generate HTTP 500 Errors (Doc ID 781229.1)

Last updated on DECEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version 10.1.3.0.0 to 10.1.3.5.0 [Release AS10gR3]
Information in this document applies to any platform.
**Checked for relevance on 24-Oct-2014***


Symptoms

Oracle Application Server 10.1.3 running a JAZN LDAP protected web application, responds very frequently with HTTP 500 errors when accessing it, and makes it unusable.

In this case, it was a WebServices web application, but the problem is not exclusive to this technology scope.


The configuration of the application is as follows:

When looking at the error logs, following messages are found:

access_log:
------------
<ip> - - [06/Jan/2009:14:54:09 +0100] "POST /<context-root>/<URI> HTTP/1.0" 500 5138

log.xml for XXTN_OC4J:
-------------------------
<MSG_TEXT> Error finding default subscribte realm </MSG_TEXT>
<SUPPL_DETAIL><![CDATA[oracle.security.jazn.JAZNException: The system
is unable to retreive the specified realm(s).
at
oracle.security.jazn.spi.ldap.LDAPRealmManager.getDefaultSubscriberRealm(LDAPRealmManager.java:1066)
at oracle.security.jazn.util.RealmUtil.getDefaultRealmName(RealmUtil.java:97)
at oracle.security.jazn.login.module.RealmLoginModule.getRealmFromUsername(RealmLoginModule.java:244)
at oracle.security.jazn.login.module.RealmLoginModule.getRealm(RealmLoginModule.java:219)
at oracle.security.jazn.login.module.RealmLoginModule.getRealmUser(RealmLoginModule.java:198)
at oracle.security.jazn.login.module.RealmLoginModule.authenticate(RealmLoginModule.java:111)
at oracle.security.jazn.login.module.RealmLoginModule.authenticate(RealmLoginModule.java:86)
at oracle.security.jazn.login.module.WSSLoginModule.authenticate(WSSLoginModule.java:110)
at oracle.security.jazn.login.module.AbstractLoginModule.login(AbstractLoginModule.java:265)
...
...
Caused by: javax.naming.ServiceUnavailableException: <host>:<port>; socket closed;
remaining name 'cn=common,cn=products,cn=oraclecontext'
at com.sun.jndi.ldap.Connection.readReply(Connection.java:410)
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:1944)
at com.sun.jndi.ldap.LdapCtx.doSearchOnce(LdapCtx.java:1893)
at com.sun.jndi.ldap.LdapCtx.c_getAttributes(LdapCtx.java:1286)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.
p_getAttributes(ComponentDirContext.java:213)

Cause

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 hundreds of Community platforms