'javax.naming.PartialResultException Unprocessed Continuation Reference' when Using LDAP Due to LDAP Referrals
症状
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);
原因
In Confluence 3.4.x and below, the LDAP integration does not support referrals by default.
回避策
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:
<confluence install>/confluence/WEB-INF/classes/log4j.properties
を編集します。- Add the line:
log4j.logger.com.atlassian.user.impl.delegation.DelegatingGroupManager=FATAL
ソリューション
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.