org.springframework.ldap.SearchLimitExceededException: Too many objects found; nested exception is javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name '

Atlassian JIRA | Justin Koke | 10 years ago
  1. 0

    When results exceed a 999 results Microsoft Active Directory will throw the following exception: org.springframework.ldap.SearchLimitExceededException: Too many objects found; nested exception is javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name ' at com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector.testConnection(SpringLDAPConnector.java:669) at com.atlassian.crowd.console.action.directory.CreateConnector.doUpdate(CreateConnector.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:364) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:216) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) Information on how to accomplish this with standard JNDI/LDAP code: http://forum.java.sun.com/thread.jspa?threadID=578347&tstart=0 Information on how to accomplish this with Spring's LDAP Template: http://static.springframework.org/spring-ldap/docs/1.1.1/reference/#d0e993

    Atlassian JIRA | 10 years ago | Justin Koke
    org.springframework.ldap.SearchLimitExceededException: Too many objects found; nested exception is javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name '
  2. 0

    When results exceed a 999 results Microsoft Active Directory will throw the following exception: org.springframework.ldap.SearchLimitExceededException: Too many objects found; nested exception is javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name ' at com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector.testConnection(SpringLDAPConnector.java:669) at com.atlassian.crowd.console.action.directory.CreateConnector.doUpdate(CreateConnector.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:364) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:216) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) Information on how to accomplish this with standard JNDI/LDAP code: http://forum.java.sun.com/thread.jspa?threadID=578347&tstart=0 Information on how to accomplish this with Spring's LDAP Template: http://static.springframework.org/spring-ldap/docs/1.1.1/reference/#d0e993

    Atlassian JIRA | 10 years ago | Justin Koke
    org.springframework.ldap.SearchLimitExceededException: Too many objects found; nested exception is javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name '

    Root Cause Analysis

    1. org.springframework.ldap.SearchLimitExceededException

      Too many objects found; nested exception is javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name '

      at com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector.testConnection()
    2. com.atlassian.crowd
      CreateConnector.doUpdate
      1. com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector.testConnection(SpringLDAPConnector.java:669)
      2. com.atlassian.crowd.console.action.directory.CreateConnector.doUpdate(CreateConnector.java:132)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:615)
      4 frames
    4. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:364)
      2. com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:216)
      3. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      3 frames
    5. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
      1 frame
    6. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
      1 frame