Hi,

We had the same problem when migrating to 3.3.1 and found that upgrading to
servicemix-camel-2009.02 fixes it automatically. Just make sure to use the
handled() flag correctly on your exception() clause.

Let us know if that worked for you.

Good luck,
Raúl.



pratibhaG wrote:
> 
> This is the whole stack trace with 3.3.1
> 
> This is what I get if I try the same test case in 3.3.1. The logs at
> Response Generator are in bold.  Also I have seen one bug
> http://issues.apache.org/activemq/browse/SMXCOMP-599 is it related to
> this?
> 
> 
> DEBUG - JettyContextManager            - Dispatching job:
> org.mortbay.jetty.security.sslsocketconnector$sslconnect...@469212f4
> DEBUG - JAASAuthenticationService      - Authenticating 'portal
> DEBUG - JAASAuthenticationService      - Authenticating portal
> successfully
> DEBUG - HttpComponent                  - Receiving HTTP request: POST
> /changePassword/ HTTP/1.1
> Authorization: Basic cG9ydGFsOnBvcnRhbHBhc3M=
> User-Agent: Jakarta Commons-HttpClient/3.1
> Host: 192.168.2.90:8192
> Content-Length: 181
> 
> 
> DEBUG - DefaultHttpConsumerMarshaler   - Using default request content
> encoding.
> DEBUG - HttpComponent                  - Created correlation id:
> ID:127.0.1.1-12760b27972-3:0
> DEBUG - DeliveryChannelImpl            - Send ID:127.0.1.1-12760b27972-3:0
> in DeliveryChannel{servicemix-http}
> DEBUG - SecuredBroker                  - send exchange with secure broker
> DEBUG - SecuredBroker                  - service name
> :{http://servicemix.in2m.com/operations/changepassword}MessageEnricherService
> DEBUG - SecuredBroker                  - operation name :null
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - HttpComponent                  - Suspending continuation for
> exchange: ID:127.0.1.1-12760b27972-3:0
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.sedaqueu...@2c808512 dequeued
> exchange: InOut[
>   id: ID:127.0.1.1-12760b27972-3:0
>   status: Active
>   role: provider
>   service:
> {http://servicemix.in2m.com/operations/changepassword}MessageEnricherService
>   endpoint: messageEnricherEndpoint
>   in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com";>
>         <updatePassword>
>                 <userName>prat002</userName>
>                         <password>mvelopes</password>
>         </updatePassword>
> </request>
> ]
> DEBUG - BeanComponent                  - Received exchange: status:
> Active, role: provider
> DEBUG - BeanComponent                  - Retrieved correlation id:
> ID:127.0.1.1-12760b27972-3:0
> DEBUG - BeanComponent                  - Correlation id retrieved from
> ThreadLocal: ID:127.0.1.1-12760b27972-3:0
> DEBUG - DeliveryChannelImpl            - SendSync
> ID:127.0.1.1-12760b27972-5:0 in DeliveryChannel{servicemix-bean}
> DEBUG - SecuredBroker                  - send exchange with secure broker
> DEBUG - SecuredBroker                  - service name
> :{http://servicemix.in2m.com/operations/changepassword}ValidateService
> DEBUG - SecuredBroker                  - operation name :null
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - DeliveryChannelImpl            - Waiting for exchange
> ID:127.0.1.1-12760b27972-5:0 (54c03bcd) to be answered in
> DeliveryChannel{servicemix-bean} from sendSync
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.sedaqueu...@18963b33 dequeued
> exchange: InOut[
>   id: ID:127.0.1.1-12760b27972-5:0
>   status: Active
>   role: provider
>   service:
> {http://servicemix.in2m.com/operations/changepassword}ValidateService
>   endpoint: camel127-0-1-1-12760b27972-9-0
>   in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com";>
>         <updatePassword>
>                 <userName>prat002</userName>
>                         <password>mvelopes</password>
>         </updatePassword>
> </request>
> ]
> DEBUG - CamelJbiComponent              - Received exchange: status:
> Active, role: provider
> DEBUG - CamelJbiComponent              - Retrieved correlation id:
> ID:127.0.1.1-12760b27972-3:0
> DEBUG - CamelJbiComponent              - Received exchange: InOut[
>   id: ID:127.0.1.1-12760b27972-5:0
>   status: Active
>   role: provider
>   service:
> {http://servicemix.in2m.com/operations/changepassword}ValidateService
>   endpoint: camel127-0-1-1-12760b27972-9-0
>   in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com";>
>         <updatePassword>
>                 <userName>prat002</userName>
>                         <password>mvelopes</password>
>         </updatePassword>
> </request>
> ]
> DEBUG - CamelJbiComponent              - Correlation id retrieved from
> ThreadLocal: ID:127.0.1.1-12760b27972-3:0
> DEBUG - DeliveryChannelImpl            - Send ID:127.0.1.1-12760b27972-4:0
> in DeliveryChannel{servicemix-camel}
> DEBUG - SecuredBroker                  - send exchange with secure broker
> DEBUG - SecuredBroker                  - service name
> :{http://servicemix.in2m.com/operations/changepassword}RoutingService
> DEBUG - SecuredBroker                  - operation name :null
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.sedaqueu...@1a57e030 dequeued
> exchange: InOut[
>   id: ID:127.0.1.1-12760b27972-4:0
>   status: Active
>   role: provider
>   service:
> {http://servicemix.in2m.com/operations/changepassword}RoutingService
>   endpoint: camel127-0-1-1-12760b27972-14-0
>   in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com";>
>         <updatePassword>
>                 <userName>prat002</userName>
>                         <password>mvelopes</password>
>         </updatePassword>
> </request>
> ]
> DEBUG - CamelJbiComponent              - Received exchange: status:
> Active, role: provider
> DEBUG - CamelJbiComponent              - Retrieved correlation id:
> ID:127.0.1.1-12760b27972-3:0
> DEBUG - CamelJbiComponent              - Received exchange: InOut[
>   id: ID:127.0.1.1-12760b27972-4:0
>   status: Active
>   role: provider
>   service:
> {http://servicemix.in2m.com/operations/changepassword}RoutingService
>   endpoint: camel127-0-1-1-12760b27972-14-0
>   in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com";>
>         <updatePassword>
>                 <userName>prat002</userName>
>                         <password>mvelopes</password>
>         </updatePassword>
> </request>
> ]
> DEBUG - CamelJbiComponent              - Correlation id retrieved from
> ThreadLocal: ID:127.0.1.1-12760b27972-3:0
> DEBUG - DeliveryChannelImpl            - SendSync
> ID:127.0.1.1-12760b27972-4:1 in DeliveryChannel{servicemix-camel}
> DEBUG - SecuredBroker                  - send exchange with secure broker
> DEBUG - SecuredBroker                  - service name
> :{http://servicemix.in2m.com/operations/changepassword}DirectorService
> DEBUG - SecuredBroker                  - operation name :null
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.sedaqueu...@7d25e791 dequeued
> exchange: InOut[
>   id: ID:127.0.1.1-12760b27972-4:1
>   status: Active
>   role: provider
>   service:
> {http://servicemix.in2m.com/operations/changepassword}DirectorService
>   endpoint: directorEndpoint
>   in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com";>
>         <updatePassword>
>                 <userName>prat002</userName>
>                         <password>mvelopes</password>
>         </updatePassword>
> </request>
> ]
> DEBUG - HttpComponent                  - Received exchange: status:
> Active, role: provider
> DEBUG - HttpComponent                  - Retrieved correlation id:
> ID:127.0.1.1-12760b27972-3:0
> DEBUG - DeliveryChannelImpl            - Waiting for exchange
> ID:127.0.1.1-12760b27972-4:1 (6302d3de) to be answered in
> DeliveryChannel{servicemix-camel} from sendSync
> ERROR - HttpComponent                  - Error processing exchange InOut[
>   id: ID:127.0.1.1-12760b27972-4:1
>   status: Active
>   role: provider
>   service:
> {http://servicemix.in2m.com/operations/changepassword}DirectorService
>   endpoint: directorEndpoint
>   in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com";>
>         <updatePassword>
>                 <userName>prat002</userName>
>                         <password>mvelopes</password>
>         </updatePassword>
> </request>
> ]
> java.net.ConnectException: Connection refused
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>         at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>         at java.net.Socket.connect(Socket.java:525)
>         at java.net.Socket.connect(Socket.java:475)
>         at java.net.Socket.<init>(Socket.java:372)
>         at java.net.Socket.<init>(Socket.java:246)
>         at
> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
>         at
> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
>         at
> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
>         at
> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
>         at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
>         at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
>         at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
>         at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>         at
> org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProcessor.java:160)
>         at
> org.apache.servicemix.soap.SoapEndpoint.process(SoapEndpoint.java:368)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:627)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:581)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:535)
>         at
> org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:623)
>         at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)
> DEBUG - DeliveryChannelImpl            - Send ID:127.0.1.1-12760b27972-4:1
> in DeliveryChannel{servicemix-http}
> DEBUG - SecuredBroker                  - send exchange with secure broker
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.sedaqueu...@4e4f2c1c dequeued
> exchange: InOut[
>   id: ID:127.0.1.1-12760b27972-4:1
>   status: Error
>   role: consumer
>   service:
> {http://servicemix.in2m.com/operations/changepassword}DirectorService
>   endpoint: directorEndpoint
>   in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com";>
>         <updatePassword>
>                 <userName>prat002</userName>
>                         <password>mvelopes</password>
>         </updatePassword>
> </request>
>   error: java.net.ConnectException: Connection refused
> ]
> DEBUG - DeliveryChannelImpl            - Notifying exchange
> ID:127.0.1.1-12760b27972-4:1(6302d3de) in
> DeliveryChannel{servicemix-camel} from processInboundSynchronousExchange
> DEBUG - DeliveryChannelImpl            - Notified:
> ID:127.0.1.1-12760b27972-4:1(6302d3de) in
> DeliveryChannel{servicemix-camel} from sendSync
> ERROR - DeadLetterChannel              - Failed delivery for exchangeId:
> ID-test-smx/48983-1268637704249/0-1. On delivery attempt: 0 caught:
> java.net.ConnectException: Connection refused
> java.net.ConnectException: Connection refused
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>         at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>         at java.net.Socket.connect(Socket.java:525)
>         at java.net.Socket.connect(Socket.java:475)
>         at java.net.Socket.<init>(Socket.java:372)
>         at java.net.Socket.<init>(Socket.java:246)
>         at
> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
>         at
> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
>         at
> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
>         at
> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
>         at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
>         at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
>         at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
>         at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>         at
> org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProcessor.java:160)
>         at
> org.apache.servicemix.soap.SoapEndpoint.process(SoapEndpoint.java:368)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:627)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:581)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:535)
>         at
> org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:623)
>         at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)
> DEBUG - CamelJbiComponent              - Correlation id retrieved from
> ThreadLocal: ID:127.0.1.1-12760b27972-3:0
> DEBUG - DeliveryChannelImpl            - Send ID:127.0.1.1-12760b27972-4:2
> in DeliveryChannel{servicemix-camel}
> DEBUG - SecuredBroker                  - send exchange with secure broker
> DEBUG - SecuredBroker                  - service name
> :{http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
> DEBUG - SecuredBroker                  - operation name :null
> DEBUG - SedaFlow                       - Called Flow send
> ERROR - DeadLetterChannel              - Failed delivery for exchangeId:
> ID-test-smx/48983-1268637704249/0-1. Handled by the failure processor:
> Pipeline[setBody(<response><status>4000</status><message>Connection
> Error</message></response>),
> sendTo(Endpoint[service:http://servicemix.in2m.com/operations/changepassword/ResponseGeneratorService?mep=in-out])]
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.sedaqueu...@1c61a885 dequeued
> exchange: InOut[
>   id: ID:127.0.1.1-12760b27972-4:2
>   status: Active
>   role: provider
>   service:
> {http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
>   endpoint: responeGeneratorEndpoint
>   in: <?xml version="1.0"
> encoding="UTF-8"?><response><status>4000</status><message>Connection
> Error</message></response>
> ]
> DEBUG - BeanComponent                  - Received exchange: status:
> Active, role: provider
> DEBUG - BeanComponent                  - Retrieved correlation id:
> ID:127.0.1.1-12760b27972-3:0
> 
> 
> 
> 
> 
> 
> 
> *********************************exchange.getStatus()=
> Active********exchange.getError()= null**********
> DEBUG - DeliveryChannelImpl            - Send ID:127.0.1.1-12760b27972-4:2
> in DeliveryChannel{servicemix-bean}
> DEBUG - SecuredBroker                  - send exchange with secure broker
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.sedaqueu...@5d325877 dequeued
> exchange: InOut[
>   id: ID:127.0.1.1-12760b27972-4:2
>   status: Active
>   role: consumer
>   service:
> {http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
>   endpoint: responeGeneratorEndpoint
>   in: <?xml version="1.0"
> encoding="UTF-8"?><response><status>4000</status><message>Connection
> Error</message></response>
>   out: <?xml version="1.0"
> encoding="UTF-8"?><response><status>4000</status><message>Connection
> Error</message></response>
> ]
> DEBUG - CamelJbiComponent              - Received exchange: status:
> Active, role: consumer
> DEBUG - CamelJbiComponent              - Retrieved correlation id:
> ID:127.0.1.1-12760b27972-3:0
> DEBUG - SimpleEndpoint                 - SimpleEndpoint.done called:
> DEBUG - DeliveryChannelImpl            - Send ID:127.0.1.1-12760b27972-4:2
> in DeliveryChannel{servicemix-camel}
> DEBUG - SecuredBroker                  - send exchange with secure broker
> DEBUG - SedaFlow                       - Called Flow send
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda.sedaqueu...@76996f0c dequeued
> exchange: InOut[
>   id: ID:127.0.1.1-12760b27972-4:2
>   status: Done
>   role: provider
>   service:
> {http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
>   endpoint: responeGeneratorEndpoint
>   in: <?xml version="1.0"
> encoding="UTF-8"?><response><status>4000</status><message>Connection
> Error</message></response>
>   out: <?xml version="1.0"
> encoding="UTF-8"?><response><status>4000</status><message>Connection
> Error</message></response>
> ]
> DEBUG - BeanComponent                  - Received exchange: status: Done,
> role: provider
> DEBUG - BeanComponent                  - Retrieved correlation id:
> ID:127.0.1.1-12760b27972-3:0
> DEBUG - DefaultHttpConsumerMarshaler   - Using default response content
> encoding.
>                                       
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/An-Operation-working-with-3.2.2-now-does-not-work-with-3.3.1-tp27873544p27908242.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to