Announcement Announcement Module
Collapse
No announcement yet.
Paged Search Control Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Paged Search Control

    Hi,

    I am trying to do paged search controls for getting more than 10000 records from last two days but i am facing operation not supported exception. below is the stack trace:


    org.springframework.ldap.UncategorizedLdapExceptio n: Operation failed; nested exception is javax.naming.OperationNotSupportedException: [LDAP: error code 12 - The server is not configured to pass through control 1.2.840.113556.1.4.319]; remaining name 'ou=Users, ou=Internal, o=ericsson'
    Caused by: javax.naming.OperationNotSupportedException: [LDAP: error code 12 - The server is not configured to pass through control 1.2.840.113556.1.4.319]; remaining name 'ou=Users, ou=Internal, o=ericsson'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.jav a:3065)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2951)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2758)
    at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1 812)
    at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:17 35)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_sea rch(ComponentDirContext.java:368)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.search(PartialCompositeDirContext.java:338)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.search(PartialCompositeDirContext.java:321)
    at javax.naming.directory.InitialDirContext.search(In itialDirContext.java:248)
    at org.springframework.ldap.LdapTemplate$4.executeSea rch(LdapTemplate.java:227)
    at org.springframework.ldap.LdapTemplate.search(LdapT emplate.java:268)
    at org.springframework.ldap.LdapTemplate.search(LdapT emplate.java:231)
    at se.ericsson.ims.pdu.zone.backend.peoplefinder.util .peopleFinderLDAPUtility.testPagedResult(peopleFin derLDAPUtility.java:98)
    at se.ericsson.ims.pdu.zone.backend.peoplefinder.Peop leFinder.main(PeopleFinder.java:97)

    Please help on this issue.
    Thanks in advance

  • #2
    Which directory server do you use?

    Comment


    • #3
      Using ECD Server which is ericsson ldap.

      Comment


      • #4
        Searching for the error message you got, the best match seems to be a Directory Proxy Server (DPS) that prohibits controls unless explicitly allowed using the DPS property 'allowed-ldap-controls'.

        http://forums.sun.com/thread.jspa?threadID=5201270

        Maybe you have a proxy server somewhere in your network. Or could your directory server be a descendant of DPS?

        Comment

        Working...
        X