Subject: Can not get the code example to work
Author: eightmd
In response to: javax.naming.NamingException: [LDAP: error code 60 - VLV Control]
Posted on: 10/18/2016 09:28:06 PM
Sorry it posted twice.
>
> On 04/14/2009 07:31:38 PM SteveHB wrote:
Virtual List View (VLV) Control must be used in conjunction with Server-Side Sort (SSS) Control (click here to see why). Otherwise, errors similar to the followings are thrown:
javax.naming.NamingException: [LDAP: error code 60 - VLV Control]; remaining name 'ou=people,dc=com'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3107)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2758)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1812)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1735)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)
at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
References: