We are seeing this warning messages in our logs
javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'dc=global,dc=com'
It appears whenever users log-in to our application.
As per this SO post, it can be resolved, by setting Context.REFERRAL
to follow
. But it increases the search time from 1 second to 4 seconds.
In fact you can refer this SO post, it says using follow
slows down the search.
So my question is, what is the best way to get rid of this exception from our logs without affecting performance?.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…