Phil,

I've changed the JAR to 1.6 and then configured my spring framework to
'fail' when there are no connections in the pool. But the threads continue
to be blocked. Can you please take a look at the new thread dump below and
let me know if the configuration in Spring was successful?

*Thread dump:*

 
            "[ACTIVE] ExecuteThread: '94' for queue:
'weblogic.kernel.Default (self-tuning)'" waiting for lock
org.apache.commons.pool.impl.GenericKeyedObjectPool$Latch@fa5b802 WAITING
          
                java.lang.Object.wait(Native Method)
          
                java.lang.Object.wait(Object.java:485)
          
            
org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1151)
          
            
org.springframework.ldap.pool.factory.PoolingContextSource.getContext(PoolingContextSource.java:422)
          
            
org.springframework.ldap.pool.factory.PoolingContextSource.getReadOnlyContext(PoolingContextSource.java:401)
          
            
org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:287)
          
            
org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:237)
          
            
org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:624)
          
            
org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:535)
          
            
org.springframework.ldap.odm.core.impl.OdmManagerImpl.search(OdmManagerImpl.java:246)
          
            
com.tester.bre.servicebean.BaseServiceBean.queryDO(BaseServiceBean.java:148)
          
            
com.tester.bre.servicebean.OdmRoleServiceBean.queryRolesForDN(OdmRoleServiceBean.java:43)
          
            
com.tester.bre.ruleengine.RuleEngineManagerImpl.gettesterAvailableStores(RuleEngineManagerImpl.java:623)
          
                sun.reflect.GeneratedMethodAccessor259.invoke(Unknown Source)
          
            
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          
                java.lang.reflect.Method.invoke(Method.java:597)
          
            
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
          
            
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
          
            
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
          
            
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
          
            
com.tester.bre.aspects.LoggerAspect.profile(LoggerAspect.java:45)
          
                sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
          
            
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          
                java.lang.reflect.Method.invoke(Method.java:597)
          
            
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
          
            
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
          
            
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
          
            
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
          
            
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
          
            
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
          
            
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
          
                $Proxy96.gettesterAvailableStores(Unknown Source)
          
                sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source)
          
            
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          
                java.lang.reflect.Method.invoke(Method.java:597)
          
            
com.tester.bre.serviceHandlers.BREServiceHandlerAbstract.handle(BREServiceHandlerAbstract.java:48)
          
                sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)
          
            
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          
                java.lang.reflect.Method.invoke(Method.java:597)
          
            
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
          
            
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
          
            
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
          
            
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
          
            
com.tester.bre.aspects.LoggerAspect.logRequestResponse(LoggerAspect.java:176)
          
                sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source)
          
            
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          
                java.lang.reflect.Method.invoke(Method.java:597)
          
            
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
          
            
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
          
            
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
          
            
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
          
            
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
          
            
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
          
            
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
          
                $Proxy97.handle(Unknown Source)
          



--
View this message in context: 
http://apache-commons.680414.n4.nabble.com/Apache-Commons-Pool-performance-issue-tp4653614p4653638.html
Sent from the Commons - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to