'javax.naming.PartialResultException Unprocessed Continuation Reference' when Using LDAP Due to LDAP Referrals
Symptoms
When using LDAP, an error like the following appears in the logs:
2007-01-18 16:29:20,857 ERROR [http-8080-Processor23] [bucket.user.DefaultUserAccessor]
getGroups com.atlassian.user.impl.RepositoryException: javax.naming.PartialResultException: Unprocessed Continuation Reference(s);
Cause
In Confluence 3.4.x and below, the LDAP integration does not support referrals by default.
Workaround
To enable referrals,
Add the following JVM parameter to the startup script of your application server
-Datlassian.java.naming.referral=follow
If you experience any problems with the workaround, revert the change and ignore or hide the error message:
- Edit
<confluence install>/confluence/WEB-INF/classes/log4j.properties
- Add the line:
log4j.logger.com.atlassian.user.impl.delegation.DelegatingGroupManager=FATAL
Resolution
This error message can usually be safely ignored.
This has been fixed in Confluence 3.5 and later ('javax.naming.PartialResultException Unprocessed Continuation Reference' when Using LDAP Due to LDAP Referrals). More information about LDAP referrals can be found from Java's site.