The same problem occurs when "eip pipeline" sends to "cxf-se
(cxf-wsdl-first)" in the following flow: 

file poller -> eip pipeline -> cxf-se (cxf-wsdl-first) --> file sender

- Ron


Freeman Fang wrote:
> 
> Hi,
> 
> Could you add log interceptor for your cxf se endpoint so that we can 
> see what the exact message cxf se get after the EIP-srs process
> 
> something like
> 
>        <cxfse:inInterceptors>
>           <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
>         </cxfse:inInterceptors>
>         <cxfse:outInterceptors>
>           <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
>         </cxfse:outInterceptors>
>         <cxfse:inFaultInterceptors>
>           <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
>         </cxfse:inFaultInterceptors>
>         <cxfse:outFaultInterceptors>
>           <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
>         </cxfse:outFaultInterceptors>
> 
> Please append the log with the EIP component and without the EIP 
> component, which is helpful for us.
> And the xbean for both bc and se.
> 
> Thanks
> 
> Freeman
> 
> johanp wrote:
>> Hi,
>>
>> CXFBC-consumer <-> CXFSE-pojo works fine.
>>
>> When trying:
>> CXFBC-consumer <-> EIP-srs <-> CXFSE-pojo getting:
>>
>>
>> DEBUG - DeliveryChannelImpl            - Waiting for exchange
>> ID:10.47.31.187-118a844d8f1-14:7 (d41c75) to be answered i
>> n DeliveryChannel{servicemix-cxf-bc} from sendSync
>> DEBUG - SedaQueue                      -
>> [EMAIL PROTECTED] dequeued
>> exchange:
>> InOut[
>>   id: ID:10.47.31.187-118a844d8f1-14:7
>>   status: Active
>>   role: provider
>>   service: {http://www.exampleURI.com/GetCustomer}routingSlip
>>   endpoint: endpoint
>>   operation: {http://www.exampleURI.com/GetCustomer}GetCustomer
>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"; xmln
>> s:msg="http://www.exampleURI.com/GetCustomer"; name="GetCustomerInput"
>> type="msg:GetCustomerInput" version="1.0"><jbi:par
>> t><s1:CustomerNumberRequest
>> xmlns:s1="http://www.exampleURI.com/GetCustomer";
>> xmlns:soapenc="http://schemas.xmlsoap.org/s
>> oap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>>          <CompanyID>company</CompanyID>
>>          <Password>dsfkj</Password>
>>          <UserName>sdflkj</UserName>
>>          <CustomerNumber>129</CustomerNumber>
>>       </s1:CustomerNumberRequest></jbi:part></jbi:message>
>> ]
>> DEBUG - EIPComponent                   - Received exchange: status:
>> Active,
>> role: provider
>> DEBUG - EIPComponent                   - Retrieved correlation id:
>> ID:10.47.31.187-118a844d8f1-14:7
>> DEBUG - MemoryStore                    - Storing object with id:
>> ID:10.47.31.187-118a844d8f1-14:7
>> DEBUG - EIPComponent                   - Correlation id retrieved from
>> ThreadLocal: ID:10.47.31.187-118a844d8f1-14:7
>> DEBUG - DeliveryChannelImpl            - Send
>> ID:10.47.31.187-118a844d8f1-6:14 in DeliveryChannel{servicemix-eip}
>> DEBUG - SedaFlow                       - Called Flow send
>> DEBUG - SedaQueue                      -
>> [EMAIL PROTECTED] dequeued
>> exchange: I
>> nOut[
>>   id: ID:10.47.31.187-118a844d8f1-6:14
>>   status: Active
>>   role: provider
>>   interface: {http://www.exampleURI.com/GetCustomer}GetCustomerPortType
>>   service: {http://www.exampleURI.com/GetCustomer}GetCustomerService
>>   endpoint: GetCustomerServiceImplPort
>>   in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"; xmln
>> s:msg="http://www.exampleURI.com/GetCustomer"; name="GetCustomerInput"
>> type="msg:GetCustomerInput" version="1.0"><jbi:par
>> t><s1:CustomerNumberRequest
>> xmlns:s1="http://www.exampleURI.com/GetCustomer";
>> xmlns:soapenc="http://schemas.xmlsoap.org/s
>> oap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>>          <CompanyID>company</CompanyID>
>>          <Password>dsfkj</Password>
>>          <UserName>sdflkj</UserName>
>>          <CustomerNumber>129</CustomerNumber>
>>       </s1:CustomerNumberRequest></jbi:part></jbi:message>
>> ]
>> DEBUG - CxfSeComponent                 - Received exchange: status:
>> Active,
>> role: provider
>> DEBUG - CxfSeComponent                 - Retrieved correlation id:
>> ID:10.47.31.187-118a844d8f1-14:7
>> 2008-mar-13 15:19:35 org.apache.cxf.transport.jbi.JBITransportFactory
>> setDeliveryChannel
>> INFO: configuring DeliveryChannel:     
>> [EMAIL PROTECTED]
>> 2008-mar-13 15:19:35 org.apache.cxf.phase.PhaseInterceptorChain
>> doIntercept
>> INFO: Interceptor has thrown exception, unwinding now
>> java.lang.NullPointerException
>>         at
>> org.apache.cxf.binding.jbi.interceptor.JBIWrapperInInterceptor.handleMessage(JBIWrapperInInterceptor.java:105
>> )
>>         at
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
>>         at
>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
>>         at
>> org.apache.cxf.transport.jbi.JBIDispatcherUtil.dispatch(JBIDispatcherUtil.java:151)
>>         at
>> org.apache.servicemix.cxfse.CxfSeEndpoint.process(CxfSeEndpoint.java:201)
>>         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)
>> 2008-mar-13 15:19:35
>> org.apache.cxf.transport.jbi.JBIDestinationOutputStream
>> commitOutputMessage
>> ALLVARLIG: error sending Out message
>> java.lang.ClassCastException: java.lang.NullPointerException
>>         at
>> org.apache.cxf.transport.jbi.JBIDestinationOutputStream.commitOutputMessage(JBIDestinationOutputStream.java:8
>> 8)
>>         at
>> org.apache.cxf.transport.jbi.JBIDestinationOutputStream.doClose(JBIDestinationOutputStream.java:61)
>>         at
>> org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:154)
>>         at
>> org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
>>         at
>> org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSende
>> rInterceptor.java:62)
>>         at
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
>>         at
>> org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.
>> java:96)
>>         at
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:254)
>>         at
>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
>>         at
>> org.apache.cxf.transport.jbi.JBIDispatcherUtil.dispatch(JBIDispatcherUtil.java:151)
>>         at
>> org.apache.servicemix.cxfse.CxfSeEndpoint.process(CxfSeEndpoint.java:201)
>>         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)
>> DEBUG - DeliveryChannelImpl            - Notified:
>> ID:10.47.31.187-118a844d8f1-14:7(d41c75) in DeliveryChannel{servicemi
>> x-cxf-bc} from sendSync
>> DEBUG - DeliveryChannelImpl            - Exchange
>> ID:10.47.31.187-118a844d8f1-14:7 has been aborted
>> 2008-mar-13 15:19:45 org.apache.cxf.phase.PhaseInterceptorChain
>> doIntercept
>> INFO: Interceptor has thrown exception, unwinding now
>> org.apache.cxf.interceptor.Fault
>>         at
>> org.apache.servicemix.cxfbc.CxfBcConsumer$JbiPostInvokerInterceptor.handleMessage(CxfBcConsumer.java:466)
>>         at
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
>>         at
>> org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:197)
>>         at
>> org.apache.servicemix.cxfbc.CxfBcConsumer.process(CxfBcConsumer.java:182)
>>         at
>> org.apache.servicemix.cxfbc.CxfBcConsumer$JbiInvokerInterceptor.handleMessage(CxfBcConsumer.java:442)
>>         at
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
>>         at
>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
>>         at
>> org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:278)
>>         at
>> org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:252)
>>         at
>> org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:62)
>>         at
>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
>>         at
>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
>>         at
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>>         at org.mortbay.jetty.Server.handle(Server.java:324)
>>         at
>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
>>         at
>> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
>>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
>>         at
>> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>>         at
>> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>>         at
>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>>         at
>> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
>>
>> Any ideas ?
>> Tia
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/cxfbc-eip-cxfse-problem-tp16026202s12049p16134010.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to