search cancel

App-ca.log flood of "javax.naming.PartialResultException" in Clarity PPM


Article ID: 143791


Updated On:


Clarity PPM On Premise Clarity PPM SaaS


The customer uses LDAP for authentication and there is no out of the box LDAP jobs active.

The app-ca.log file flood of the following exception:

ERROR 2019-12-06 14:46:45,394 [http-nio-80-exec-8] directory.LDAPDirectoryService (clarity:unknown:none:PPM_REST_API)
javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=corpnet,DC=at'
        at java.naming/com.sun.jndi.ldap.LdapCtx.processReturnCode(
        at java.naming/com.sun.jndi.ldap.LdapCtx.processReturnCode(
        at java.naming/com.sun.jndi.ldap.LdapCtx.searchAux(
        at java.naming/com.sun.jndi.ldap.LdapCtx.c_search(
        at java.naming/com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(
        at java.naming/
        at java.naming/
        at java.naming/


Clarity PPM 15.7
Clarity PPM 15.6.1


There are two solutions to this exception:

(1) Query against Global Catalog:

To prevent the referral issues when dealing with Active Directory, we may query against the Global Catalog by using port 3268.

If you were using the port 389 change it to 3268.

If you were using the port 636 change it to 3269.

(2) Configure Referral to Follow:

PartialResultException is thrown if the JAVA Directory Context setup does not support following the Referrals.

Setting: java.naming.referral=follow

We can configure it to automatically follow any referrals adding this as a default context setup as a JVM parameter to the APP server: -Djava.naming.referral=follow.