You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Jack Jack <sm...@yahoo.com> on 2008/09/09 20:59:42 UTC

org.apache.servicemix.jbi.ExchangeTimeoutException: Exchange has timed out

Hi,
 I am using the serviceMix-3.2.1  version  and configured the CXF components in servicemix.xml ( light-weight mode )

I am getting the following exception. 

Logs shows, for CXF, in bound and outbound messages are ready.I just replace the actual <jbi:part> content with .... for this mail purpose.

Can you please help on configuring the servicemix to set keepAlive time more.? Or any solution to resolve this problem.

 I appreciate your help in this issue.

Thanks
Babu

Sep 9, 2008 10:30:27 AM org.apache.cxf.transport.jbi.JBIDestinationOutputStream commitOutputMessage
SEVERE: error sending Out message
org.apache.servicemix.jbi.ExchangeTimeoutException: Exchange has timed out: InOut[
  id: ID:171.166.72.132-11c33f919ee-3:66
  status: Error
  role: provider
  interface: {http://pots.org/store/circuit}CircuitSoap
  service: {http://pots.org/store/circuit}Circuit
  endpoint: CircuitSoap
  operation: {http://pots.org/store/circuit}Circuit}CircuitSearch
  in: <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper" xmlns:msg=".........."><jbi:part><............></jbi:part></jbi:message>
  out: <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><.................></jbi:part></jbi:message>
]
 at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:361)
 at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:431)
 at org.apache.servicemix.common.EndpointDeliveryChannel.send(EndpointDeliveryChannel.java:79)
 at org.apache.cxf.transport.jbi.JBIDestinationOutputStream.commitOutputMessage(JBIDestinationOutputStream.java:106)
 at org.apache.cxf.transport.jbi.JBIDestinationOutputStream.doClose(JBIDestinationOutputStream.java:62)
 at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:119)
 at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
 at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
 at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
 at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:74)
 at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
 at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:73)
 at org.apache.cxf.transport.jbi.JBIDispatcherUtil.dispatch(JBIDispatcherUtil.java:148)
 at org.apache.servicemix.cxfse.CxfSeEndpoint.process(CxfSeEndpoint.java:187)
 at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
 at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
 at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
 at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
 at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
 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)


      

Re: org.apache.servicemix.jbi.ExchangeTimeoutException: Exchange has timed out

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

add timeout="how_long_what_want_as_sec" attribute for your cxf bc 
consumer confiugration.

You need use servicemix 3.2.2

Regards
Freeman

Jack Jack wrote:
> Hi,
>  I am using the serviceMix-3.2.1  version  and configured the CXF components in servicemix.xml ( light-weight mode )
>
> I am getting the following exception. 
>
> Logs shows, for CXF, in bound and outbound messages are ready.I just replace the actual <jbi:part> content with .... for this mail purpose.
>
> Can you please help on configuring the servicemix to set keepAlive time more.? Or any solution to resolve this problem.
>
>  I appreciate your help in this issue.
>
> Thanks
> Babu
>
> Sep 9, 2008 10:30:27 AM org.apache.cxf.transport.jbi.JBIDestinationOutputStream commitOutputMessage
> SEVERE: error sending Out message
> org.apache.servicemix.jbi.ExchangeTimeoutException: Exchange has timed out: InOut[
>   id: ID:171.166.72.132-11c33f919ee-3:66
>   status: Error
>   role: provider
>   interface: {http://pots.org/store/circuit}CircuitSoap
>   service: {http://pots.org/store/circuit}Circuit
>   endpoint: CircuitSoap
>   operation: {http://pots.org/store/circuit}Circuit}CircuitSearch
>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper" xmlns:msg=".........."><jbi:part><............></jbi:part></jbi:message>
>   out: <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><.................></jbi:part></jbi:message>
> ]
>  at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:361)
>  at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:431)
>  at org.apache.servicemix.common.EndpointDeliveryChannel.send(EndpointDeliveryChannel.java:79)
>  at org.apache.cxf.transport.jbi.JBIDestinationOutputStream.commitOutputMessage(JBIDestinationOutputStream.java:106)
>  at org.apache.cxf.transport.jbi.JBIDestinationOutputStream.doClose(JBIDestinationOutputStream.java:62)
>  at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:119)
>  at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
>  at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
>  at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
>  at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:74)
>  at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
>  at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:73)
>  at org.apache.cxf.transport.jbi.JBIDispatcherUtil.dispatch(JBIDispatcherUtil.java:148)
>  at org.apache.servicemix.cxfse.CxfSeEndpoint.process(CxfSeEndpoint.java:187)
>  at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>  at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>  at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>  at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>  at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>  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)
>
>
>       
>