Hi,

I am doing performance test on my application with 25 users.In one
particular functionality of my application i am getting an  jca flow error
with java.util.concurrent.TimeoutException.When I checked my logs it was
pointing to the location where I am trying to close the ServiceMixClient
instance using the command  objServiceMixClient.close();.Please note that I
am getting this issue during concurrent users testing alone.Below is the log
stack that I am getting.Please help me.

| ERROR | pool-flow.seda.servicemix-cxf-se-thread-16 | JCAFlow                 
| cemix.jbi.nmr.flow.jca.JCAFlow  480 | Cannot destroy consumer for
component ID:172.28.1.239-128982e14d6-0:2357
java.util.concurrent.TimeoutException
        at
java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:211)
        at java.util.concurrent.FutureTask.get(FutureTask.java:85)
        at
org.apache.servicemix.jbi.nmr.flow.jca.JCAFlow$Connector.stop(JCAFlow.java:705)
        at
org.apache.servicemix.jbi.nmr.flow.jca.JCAFlow.onComponentStopped(JCAFlow.java:477)
        at
org.apache.servicemix.jbi.nmr.flow.jca.JCAFlow$2.componentStopped(JCAFlow.java:263)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.fireEvent(ComponentMBeanImpl.java:601)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStop(ComponentMBeanImpl.java:322)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doShutDown(ComponentMBeanImpl.java:334)
        at
org.apache.servicemix.jbi.container.JBIContainer.deactivateComponent(JBIContainer.java:987)
        at
org.apache.servicemix.client.DefaultServiceMixClient.close(DefaultServiceMixClient.java:278)
       
        at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:166)
        at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
        at
org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:110)
        at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
        at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
        at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:95)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:226)
        at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:88)
        at
org.apache.cxf.transport.jbi.JBIDispatcherUtil.dispatch(JBIDispatcherUtil.java:156)
        at
org.apache.servicemix.cxfse.CxfSeEndpoint.process(CxfSeEndpoint.java:364)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:540)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:492)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:623)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:183)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595) 
-- 
View this message in context: 
http://old.nabble.com/JCA-Flow-java.util.concurrent.TimeoutException-tp28773205p28773205.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to