views:

93

answers:

0

i try to do pooling through PoolingContextSource

http://static.springsource.org/spring-ldap/site/reference/html/pooling.html

and get below error? does oracle(oid) ldap support pooling?

java.lang.UnsupportedOperationException: Not supported for this implementation at org.springframework.ldap.pool.factory.PoolingContextSource.getContext(PoolingContextSource.java:436) at org.springframework.ldap.core.LdapTemplate.authenticate(LdapTemplate.java:1434) at org.springframework.ldap.core.LdapTemplate.authenticate(LdapTemplate.java:1386) at com.company.iss.services.ISSServiceImpl.login(ISSServiceImpl.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy55.login(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)