org.springframework.ldap.OperationNotSupportedException: [LDAP: error code 12 - Unavailable Critical Extension]; nested exception is javax.naming.OperationNotSupportedException: [LDAP: error code 12 - Unavailable Critical Extension]; remaining name 'ou=groups'

Oracle Community | xiangdong | 6 months ago
  1. 0

    ldap error 12 ,Unavailable Critical Extension

    Oracle Community | 6 months ago | xiangdong
    org.springframework.ldap.OperationNotSupportedException: [LDAP: error code 12 - Unavailable Critical Extension]; nested exception is javax.naming.OperationNotSupportedException: [LDAP: error code 12 - Unavailable Critical Extension]; remaining name 'ou=groups'

    Root Cause Analysis

    1. org.springframework.ldap.OperationNotSupportedException

      [LDAP: error code 12 - Unavailable Critical Extension]; nested exception is javax.naming.OperationNotSupportedException: [LDAP: error code 12 - Unavailable Critical Extension]; remaining name 'ou=groups'

      at org.springframework.ldap.support.LdapUtils.convertLdapException()
    2. spring-ldap-core
      LdapTemplate.search
      1. org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:212)
      2. org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:397)
      3. org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:328)
      4. org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:604)
      4 frames
    3. com.xxx.test
      GroupDAOImpl$1.doWithLdapOperations
      1. com.xxx.test.dao.impl.GroupDAOImpl$1.doWithLdapOperations(GroupDAOImpl.java:79)
      2. com.xxx.test.dao.impl.GroupDAOImpl$1.doWithLdapOperations(GroupDAOImpl.java:1)
      2 frames
    4. spring-ldap-core
      SingleContextSource.doWithSingleContext
      1. org.springframework.ldap.core.support.SingleContextSource.doWithSingleContext(SingleContextSource.java:153)
      2. org.springframework.ldap.core.support.SingleContextSource.doWithSingleContext(SingleContextSource.java:115)
      2 frames
    5. com.copsec.gms
      GroupDAOImpl.findAllGroup
      1. com.copsec.gms.dao.impl.GroupDAOImpl.findAllGroup(GroupDAOImpl.java:71)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:601)
      3 frames
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      4. org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
      5. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      6. org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:42)
      7. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      8. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
      9. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      10. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      10 frames
    8. Unknown
      $Proxy13.findAllGroup
      1. $Proxy13.findAllGroup(Unknown Source)
      1 frame