You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by pratibhaG <pr...@finicity.com> on 2010/03/12 06:26:46 UTC
An Operation working with 3.2.2 now does not work with 3.3.1
Hi,
I have an operation change password which works fine in 3.2.2 but when I
built and deploy the same in 3.3.1 it does not work. The requirement
scenario is that in case of servicemix send message to any application and
if application is down it gets connection error. My camel component handles
that error and creates a custom message gives that message to response
generator and then response generator sends an out message. My routing
service waits for an out message which it gets with 3.2.2 but not in 3.3.1.
In 3.3.1 the message flow just stops at Response generator.
This is my code:
package com.in2m.servicemix.operations.changepassword;
import org.apache.camel.builder.RouteBuilder;
public class Validation extends RouteBuilder {
public void configure() {
exception(java.lang.Throwable.class)
.setBody(constant("<response><status>"+ ErrorConstants.SYSTEM_ERROR
+"</status><message>System Error</message></response>"))
.to("jbi:service:http://servicemix.in2m.com/operations/changepassword/ResponseGeneratorService?mep=in-out");
exception(org.apache.camel.processor.validation.SchemaValidationException.class)
.setBody(constant("<response><status>"+ErrorConstants.VALIDATION_ERROR+"</status><message>Validation
Error</message></response>"))
.to("jbi:service:http://servicemix.in2m.com/operations/changepassword/ResponseGeneratorService?mep=in-out");
from("jbi:service:http://servicemix.in2m.com/operations/changepassword/ValidateService")
.to("validator:updatepassword.xsd")
.to("jbi:service:http://servicemix.in2m.com/operations/changepassword/RoutingService?mep=in-out");
}
}
MessageRouting class
package com.in2m.servicemix.operations.changepassword;
import org.apache.camel.builder.RouteBuilder;
import com.in2m.servicemix.common.errorhandling.ErrorConstants;
public class MessageRouting extends RouteBuilder {
public void configure() {
exception(java.lang.Throwable.class)
.setBody(constant("<response><status>"+ ErrorConstants.SYSTEM_ERROR
+"</status><message>System Error</message></response>"))
.to("jbi:service:http://servicemix.in2m.com/operations/changepassword/ResponseGeneratorService?mep=in-out");
exception(java.net.SocketException.class)
.setBody(constant("<response><status>"+ ErrorConstants.SOCKET_ERROR
+"</status><message>Connection Error</message></response>"))
.to("jbi:service:http://servicemix.in2m.com/operations/changepassword/ResponseGeneratorService?mep=in-out");
from("jbi:service:http://servicemix.in2m.com/operations/changepassword/RoutingService")
.choice()
.when(header("userPrincipals").contains("director"))
.to("jbi:service:http://servicemix.in2m.com/operations/changepassword/PortalService?mep=in-out")
.when(header("userPrincipals").contains("portal"))
.to("jbi:service:http://servicemix.in2m.com/operations/changepassword/DirectorService?mep=in-out");
}
}
--
View this message in context: http://old.nabble.com/An-Operation-working-with-3.2.2-now-does-not-work-with-3.3.1-tp27873544p27873544.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: An Operation working with 3.2.2 now does not work with 3.3.1
Posted by pratibhaG <pr...@finicity.com>.
If you see the logs in 3.2.2 the message flows from Response Generator to
Router service to validate service and messageenriche and finally to client
but that does not happen with 3.3.1.
Why is it so?
Please help...........
Thanks,
Pratibha
--
View this message in context: http://old.nabble.com/An-Operation-working-with-3.2.2-now-does-not-work-with-3.3.1-tp27873544p27873584.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: An Operation working with 3.2.2 now does not work with 3.3.1
Posted by pratibhaG <pr...@finicity.com>.
Hey guys thanks a lot.
problems resolved
--
View this message in context: http://old.nabble.com/An-Operation-working-with-3.2.2-now-does-not-work-with-3.3.1-tp27873544p27929837.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: An Operation working with 3.2.2 now does not work with 3.3.1
Posted by pratibhaG <pr...@finicity.com>.
Hi,
Thanks for your reply.
I tried copying servicemix-camel-2009.02-installer.zip in
Serviceix/hotdeply. But I do not see the component camel starting while
servicemix starts up. And when I deploy the custom opearation in
servicemix/hotdeply I get following error about camel being not present:
INFO - AutoDeploymentService - Directory: hotdeploy: Archive
changed: processing changepassword-sa-1.0.zip ...
DEBUG - AutoDeploymentService - Unpacked archive
/home/smx/apache-servicemix-3.3.1/hotdeploy/changepassword-sa-1.0.zip to
/home/smx/apache-servicemix-3.3.1/data/smx/tmp/changepassword-sa-1.0.0.tmp
DEBUG - AutoDeploymentService - SA dependencies: [servicemix-camel,
servicemix-http, servicemix-bean]
WARN - AutoDeploymentService - Components servicemix-camel are not
installed yet: the service assembly changepassword-sa deployment is
suspended and will be resumed once the listed components are installed
INFO - AutoDeploymentService - Directory: hotdeploy: Finished
installation of archive: changepassword-sa-1.0.zip
Could you please give me steps as to how you made servicemix recognize the
new servicemix component...
Please help,
Thanks,
Pratibha
--
View this message in context: http://old.nabble.com/An-Operation-working-with-3.2.2-now-does-not-work-with-3.3.1-tp27873544p27928003.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: An Operation working with 3.2.2 now does not work with 3.3.1
Posted by "raulvk.soa" <ra...@gmail.com>.
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$SslConnection@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.SedaQueue$1@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.SedaQueue$1@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.SedaQueue$1@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.SedaQueue$1@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.SedaQueue$1@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.SedaQueue$1@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.SedaQueue$1@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.SedaQueue$1@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.
Re: An Operation working with 3.2.2 now does not work with 3.3.1
Posted by pratibhaG <pr...@finicity.com>.
What I want is message :
<?xml version="1.0"
encoding="UTF-8"?><response><status>4000</status><message>Connection
Error</message></response>
Should be given back to "RoutingService" which is not happening currently.
Please help......
Thanks,
Pratibha
--
View this message in context: http://old.nabble.com/An-Operation-working-with-3.2.2-now-does-not-work-with-3.3.1-tp27873544p27901366.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: An Operation working with 3.2.2 now does not work with 3.3.1
Posted by pratibhaG <pr...@finicity.com>.
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$SslConnection@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.SedaQueue$1@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.SedaQueue$1@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.SedaQueue$1@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.SedaQueue$1@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.SedaQueue$1@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.SedaQueue$1@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.SedaQueue$1@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.SedaQueue$1@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-tp27873544p27901284.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: An Operation working with 3.2.2 now does not work with 3.3.1
Posted by pratibhaG <pr...@finicity.com>.
I found only the following thing missing in the logs of 3.3.1 which was
present in 3.2.2 after my responsegenerator service send a done message
but I am unable to find why is it so. No where in my ResponseGeneartor bean
I have set a status as error.
ERROR - DeadLetterChannel - Failed delivery for exchangeId:
ID-test-smx/48463-1268370611187/0-0. 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 - DeliveryChannelImpl - Send ID:127.0.1.1-12750c79e7f-4:0
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.SedaQueue$1@70c221d7 dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-4:0
status: Active
role: consumer
service:
{http://servicemix.in2m.com/operations/changepassword}RoutingService
endpoint: camel127-0-1-1-12750c79e7f-6-1
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 - DeliveryChannelImpl - Notifying exchange
ID:127.0.1.1-12750c79e7f-4:0(203eb8a) in DeliveryChannel{servicemix-camel}
from processInboundSynchronousExchange
DEBUG - DeliveryChannelImpl - Notified:
ID:127.0.1.1-12750c79e7f-4:0(203eb8a) in DeliveryChannel{servicemix-camel}
from sendSync
DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750c79e7f-4:0
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.SedaQueue$1@7fad552c dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-4:0
status: Done
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}RoutingService
endpoint: camel127-0-1-1-12750c79e7f-6-1
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>
]
--
View this message in context: http://old.nabble.com/An-Operation-working-with-3.2.2-now-does-not-work-with-3.3.1-tp27873544p27900502.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: An Operation working with 3.2.2 now does not work with 3.3.1
Posted by Gert Vanthienen <ge...@gmail.com>.
L.S.,
Could you check if there's no MessageExchange with status ERROR
following here (from the RoutingService)? That's what I would have
expected in this scenario at least...
Regards,
Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/
On 12 March 2010 06:34, pratibhaG <pr...@finicity.com> wrote:
>
>
> llogs with 3.3.1
>
> DEBUG - JettyContextManager - Dispatching job:
> org.mortbay.jetty.security.SslSocketConnector$SslConnection@21a79b48
> 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-12750dbda9b-3:0
> DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750dbda9b-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 - SedaQueue -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@5e21151e dequeued
> exchange: InOut[
> id: ID:127.0.1.1-12750dbda9b-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-12750dbda9b-3:0
> DEBUG - HttpComponent - Suspending continuation for
> exchange: ID:127.0.1.1-12750dbda9b-3:0
> DEBUG - BeanComponent - Correlation id retrieved from
> ThreadLocal: ID:127.0.1.1-12750dbda9b-3:0
> DEBUG - DeliveryChannelImpl - SendSync
> ID:127.0.1.1-12750dbda9b-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 - SedaQueue -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@2d07c405 dequeued
> exchange: InOut[
> id: ID:127.0.1.1-12750dbda9b-5:0
> status: Active
> role: provider
> service:
> {http://servicemix.in2m.com/operations/changepassword}ValidateService
> endpoint: camel127-0-1-1-12750dbda9b-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-12750dbda9b-3:0
> DEBUG - CamelJbiComponent - Received exchange: InOut[
> id: ID:127.0.1.1-12750dbda9b-5:0
> status: Active
> role: provider
> service:
> {http://servicemix.in2m.com/operations/changepassword}ValidateService
> endpoint: camel127-0-1-1-12750dbda9b-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 - DeliveryChannelImpl - Waiting for exchange
> ID:127.0.1.1-12750dbda9b-5:0 (56acf892) to be answered in
> DeliveryChannel{servicemix-bean} from sendSync
> DEBUG - CamelJbiComponent - Correlation id retrieved from
> ThreadLocal: ID:127.0.1.1-12750dbda9b-3:0
> DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750dbda9b-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.SedaQueue$1@4079ca2e dequeued
> exchange: InOut[
> id: ID:127.0.1.1-12750dbda9b-4:0
> status: Active
> role: provider
> service:
> {http://servicemix.in2m.com/operations/changepassword}RoutingService
> endpoint: camel127-0-1-1-12750dbda9b-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-12750dbda9b-3:0
> DEBUG - CamelJbiComponent - Received exchange: InOut[
> id: ID:127.0.1.1-12750dbda9b-4:0
> status: Active
> role: provider
> service:
> {http://servicemix.in2m.com/operations/changepassword}RoutingService
> endpoint: camel127-0-1-1-12750dbda9b-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-12750dbda9b-3:0
> DEBUG - DeliveryChannelImpl - SendSync
> ID:127.0.1.1-12750dbda9b-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.SedaQueue$1@6f866002 dequeued
> exchange: InOut[
> id: ID:127.0.1.1-12750dbda9b-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-12750dbda9b-3:0
> DEBUG - DeliveryChannelImpl - Waiting for exchange
> ID:127.0.1.1-12750dbda9b-4:1 (757583b9) to be answered in
> DeliveryChannel{servicemix-camel} from sendSync
> ERROR - HttpComponent - Error processing exchange InOut[
> id: ID:127.0.1.1-12750dbda9b-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-12750dbda9b-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.SedaQueue$1@70cf08b1 dequeued
> exchange: InOut[
> id: ID:127.0.1.1-12750dbda9b-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-12750dbda9b-4:1(757583b9) in DeliveryChannel{servicemix-camel}
> from processInboundSynchronousExchange
> DEBUG - DeliveryChannelImpl - Notified:
> ID:127.0.1.1-12750dbda9b-4:1(757583b9) in DeliveryChannel{servicemix-camel}
> from sendSync
> ERROR - DeadLetterChannel - Failed delivery for exchangeId:
> ID-test-smx/42143-1268371922320/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-12750dbda9b-3:0
> DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750dbda9b-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
> DEBUG - SedaQueue -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@5fefa888 dequeued
> exchange: InOut[
> id: ID:127.0.1.1-12750dbda9b-4:2
> status: Active
> role: provider
> service:
> {http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
> endpoint: responeGeneratorEndpoint
> 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-12750dbda9b-3:0
> ERROR - DeadLetterChannel - Failed delivery for exchangeId:
> ID-test-smx/42143-1268371922320/0-1. Handled by the failure processor:
> sendTo(Endpoint[service:http://servicemix.in2m.com/operations/changepassword/ResponseGeneratorService?mep=in-out])
> DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750dbda9b-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.SedaQueue$1@38351fbf dequeued
> exchange: InOut[
> id: ID:127.0.1.1-12750dbda9b-4:2
> status: Active
> role: consumer
> service:
> {http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
> endpoint: responeGeneratorEndpoint
> in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com">
> <updatePassword>
> <userName>prat002</userName>
> <password>mvelopes</password>
> </updatePassword>
> </request>
> out: <?xml version="1.0" encoding="UTF-8"?><response>
> <status>0</status>
> <message>success</message>
> </response>
> ]
> DEBUG - CamelJbiComponent - Received exchange: status: Active,
> role: consumer
> DEBUG - CamelJbiComponent - Retrieved correlation id:
> ID:127.0.1.1-12750dbda9b-3:0
> DEBUG - SimpleEndpoint - SimpleEndpoint.done called:
> DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750dbda9b-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.SedaQueue$1@525dbc90 dequeued
> exchange: InOut[
> id: ID:127.0.1.1-12750dbda9b-4:2
> status: Done
> role: provider
> service:
> {http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
> endpoint: responeGeneratorEndpoint
> in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com">
> <updatePassword>
> <userName>prat002</userName>
> <password>mvelopes</password>
> </updatePassword>
> </request>
> out: <?xml version="1.0" encoding="UTF-8"?><response>
> <status>0</status>
> <message>success</message>
> </response>
> ]
> DEBUG - BeanComponent - Received exchange: status: Done,
> role: provider
> DEBUG - BeanComponent - Retrieved correlation id:
> ID:127.0.1.1-12750dbda9b-3:0
>
> --
> View this message in context: http://old.nabble.com/An-Operation-working-with-3.2.2-now-does-not-work-with-3.3.1-tp27873544p27873580.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
Re: An Operation working with 3.2.2 now does not work with 3.3.1
Posted by pratibhaG <pr...@finicity.com>.
My response generator class is :
package com.in2m.servicemix.common.bean;
import java.io.IOException;
import java.io.StringWriter;
import javax.annotation.Resource;
import javax.jbi.messaging.DeliveryChannel;
import javax.jbi.messaging.ExchangeStatus;
import javax.jbi.messaging.MessageExchange;
import javax.jbi.messaging.MessagingException;
import javax.jbi.messaging.NormalizedMessage;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.servicemix.MessageExchangeListener;
import org.apache.servicemix.jbi.jaxp.SourceTransformer;
import org.apache.servicemix.jbi.jaxp.StringSource;
import org.w3c.dom.Document;
import com.sun.org.apache.xml.internal.serialize.OutputFormat;
import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
import com.thoughtworks.xstream.XStream;
import com.in2m.servicemix.common.errorhandling.ErrorConstants;
/**
* @author pghogale
*
*/
public class ResponseGenerator implements MessageExchangeListener {
@Resource
private DeliveryChannel channel;
private static final Log logger =
LogFactory.getLog(ResponseGenerator.class);
private final static String RESPONSE_MESSAGE_ROOT = "response";
private static final String REQUEST_MESSAGE_ROOT = "request";
public void onMessageExchange(MessageExchange exchange) throws
MessagingException {
try{
if (exchange.getStatus() == ExchangeStatus.ACTIVE) {
NormalizedMessage normalizedMessageIn = exchange.getMessage("in");
String outMessage =
getResponseToClientFromInMessage(normalizedMessageIn);
NormalizedMessage normalizedMessageOut= exchange.createMessage();
normalizedMessageOut.setContent(new StringSource(outMessage));
exchange.setMessage(normalizedMessageOut,"out");
channel.send(exchange);
}
} catch(Exception e){
logger.error(e);
}
}
private String getResponseToClientFromInMessage(NormalizedMessage
normalizedMessage) throws Exception {
// if nothing comes to response generator send system error
if(normalizedMessage.getContent() == null){
return createResponseMessage(ErrorConstants.SYSTEM_ERROR,"System Error");
}
SourceTransformer sourceTransformer = new SourceTransformer();
Document inDocument = sourceTransformer.toDOMDocument(normalizedMessage);
inDocument.normalize();
String response=getResponseMessageFromInMessage(inDocument);
return response;
}
private String getResponseMessageFromInMessage(Document inDoc) throws
Exception{
String documentElement=inDoc.getDocumentElement().getNodeName();
//send same message as response
if(documentElement.equals(RESPONSE_MESSAGE_ROOT)){
return createXMLMessageFromDocument(inDoc);
}
//if message goes to jms provider in case of update profile send succsess
if(documentElement.equals(REQUEST_MESSAGE_ROOT)){
return createResponseMessage(ErrorConstants.SUCCESS,"success");
}
return null;
}
private static String createResponseMessage(String status, String message)
{
XStream xstream = new XStream();
xstream.alias(RESPONSE_MESSAGE_ROOT, ResponseMessage.class);
ResponseMessage response = new ResponseMessage();
response.setStatus(status);
response.setMessage(message);
return xstream.toXML(response);
}
private String createXMLMessageFromDocument(Document document) throws
IOException{
OutputFormat format = new OutputFormat (document);
StringWriter stringOut = new StringWriter ();
XMLSerializer serial = new XMLSerializer (stringOut, format);
serial.serialize(document);
String message= stringOut.toString().replace("<?xml version=\"1.0\"
encoding=\"UTF-8\"?>", "");
return message;
}
}
--
View this message in context: http://old.nabble.com/An-Operation-working-with-3.2.2-now-does-not-work-with-3.3.1-tp27873544p27873632.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: An Operation working with 3.2.2 now does not work with 3.3.1
Posted by pratibhaG <pr...@finicity.com>.
llogs with 3.3.1
DEBUG - JettyContextManager - Dispatching job:
org.mortbay.jetty.security.SslSocketConnector$SslConnection@21a79b48
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-12750dbda9b-3:0
DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750dbda9b-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 - SedaQueue -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@5e21151e dequeued
exchange: InOut[
id: ID:127.0.1.1-12750dbda9b-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-12750dbda9b-3:0
DEBUG - HttpComponent - Suspending continuation for
exchange: ID:127.0.1.1-12750dbda9b-3:0
DEBUG - BeanComponent - Correlation id retrieved from
ThreadLocal: ID:127.0.1.1-12750dbda9b-3:0
DEBUG - DeliveryChannelImpl - SendSync
ID:127.0.1.1-12750dbda9b-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 - SedaQueue -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@2d07c405 dequeued
exchange: InOut[
id: ID:127.0.1.1-12750dbda9b-5:0
status: Active
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}ValidateService
endpoint: camel127-0-1-1-12750dbda9b-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-12750dbda9b-3:0
DEBUG - CamelJbiComponent - Received exchange: InOut[
id: ID:127.0.1.1-12750dbda9b-5:0
status: Active
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}ValidateService
endpoint: camel127-0-1-1-12750dbda9b-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 - DeliveryChannelImpl - Waiting for exchange
ID:127.0.1.1-12750dbda9b-5:0 (56acf892) to be answered in
DeliveryChannel{servicemix-bean} from sendSync
DEBUG - CamelJbiComponent - Correlation id retrieved from
ThreadLocal: ID:127.0.1.1-12750dbda9b-3:0
DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750dbda9b-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.SedaQueue$1@4079ca2e dequeued
exchange: InOut[
id: ID:127.0.1.1-12750dbda9b-4:0
status: Active
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}RoutingService
endpoint: camel127-0-1-1-12750dbda9b-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-12750dbda9b-3:0
DEBUG - CamelJbiComponent - Received exchange: InOut[
id: ID:127.0.1.1-12750dbda9b-4:0
status: Active
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}RoutingService
endpoint: camel127-0-1-1-12750dbda9b-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-12750dbda9b-3:0
DEBUG - DeliveryChannelImpl - SendSync
ID:127.0.1.1-12750dbda9b-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.SedaQueue$1@6f866002 dequeued
exchange: InOut[
id: ID:127.0.1.1-12750dbda9b-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-12750dbda9b-3:0
DEBUG - DeliveryChannelImpl - Waiting for exchange
ID:127.0.1.1-12750dbda9b-4:1 (757583b9) to be answered in
DeliveryChannel{servicemix-camel} from sendSync
ERROR - HttpComponent - Error processing exchange InOut[
id: ID:127.0.1.1-12750dbda9b-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-12750dbda9b-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.SedaQueue$1@70cf08b1 dequeued
exchange: InOut[
id: ID:127.0.1.1-12750dbda9b-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-12750dbda9b-4:1(757583b9) in DeliveryChannel{servicemix-camel}
from processInboundSynchronousExchange
DEBUG - DeliveryChannelImpl - Notified:
ID:127.0.1.1-12750dbda9b-4:1(757583b9) in DeliveryChannel{servicemix-camel}
from sendSync
ERROR - DeadLetterChannel - Failed delivery for exchangeId:
ID-test-smx/42143-1268371922320/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-12750dbda9b-3:0
DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750dbda9b-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
DEBUG - SedaQueue -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@5fefa888 dequeued
exchange: InOut[
id: ID:127.0.1.1-12750dbda9b-4:2
status: Active
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
endpoint: responeGeneratorEndpoint
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-12750dbda9b-3:0
ERROR - DeadLetterChannel - Failed delivery for exchangeId:
ID-test-smx/42143-1268371922320/0-1. Handled by the failure processor:
sendTo(Endpoint[service:http://servicemix.in2m.com/operations/changepassword/ResponseGeneratorService?mep=in-out])
DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750dbda9b-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.SedaQueue$1@38351fbf dequeued
exchange: InOut[
id: ID:127.0.1.1-12750dbda9b-4:2
status: Active
role: consumer
service:
{http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
endpoint: responeGeneratorEndpoint
in: <?xml version="1.0" encoding="UTF-8"?><request
xmlns="http://www.finicity.com">
<updatePassword>
<userName>prat002</userName>
<password>mvelopes</password>
</updatePassword>
</request>
out: <?xml version="1.0" encoding="UTF-8"?><response>
<status>0</status>
<message>success</message>
</response>
]
DEBUG - CamelJbiComponent - Received exchange: status: Active,
role: consumer
DEBUG - CamelJbiComponent - Retrieved correlation id:
ID:127.0.1.1-12750dbda9b-3:0
DEBUG - SimpleEndpoint - SimpleEndpoint.done called:
DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750dbda9b-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.SedaQueue$1@525dbc90 dequeued
exchange: InOut[
id: ID:127.0.1.1-12750dbda9b-4:2
status: Done
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}ResponseGeneratorService
endpoint: responeGeneratorEndpoint
in: <?xml version="1.0" encoding="UTF-8"?><request
xmlns="http://www.finicity.com">
<updatePassword>
<userName>prat002</userName>
<password>mvelopes</password>
</updatePassword>
</request>
out: <?xml version="1.0" encoding="UTF-8"?><response>
<status>0</status>
<message>success</message>
</response>
]
DEBUG - BeanComponent - Received exchange: status: Done,
role: provider
DEBUG - BeanComponent - Retrieved correlation id:
ID:127.0.1.1-12750dbda9b-3:0
--
View this message in context: http://old.nabble.com/An-Operation-working-with-3.2.2-now-does-not-work-with-3.3.1-tp27873544p27873580.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: An Operation working with 3.2.2 now does not work with 3.3.1
Posted by pratibhaG <pr...@finicity.com>.
The logs with 3.2.2:
Authorization: Basic cG9ydGFsOnBvcnRhbHBhc3M=
User-Agent: Jakarta Commons-HttpClient/3.1
Host: 192.168.2.90:8192
Content-Length: 181
DEBUG - HttpComponent - Created correlation id:
ID:127.0.1.1-12750c79e7f-3:0
DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750c79e7f-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-12750c79e7f-3:0
DEBUG - SedaQueue -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1fef0b44 dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-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-12750c79e7f-3:0
DEBUG - BeanComponent - Correlation id retrieved from
ThreadLocal: ID:127.0.1.1-12750c79e7f-3:0
DEBUG - DeliveryChannelImpl - SendSync
ID:127.0.1.1-12750c79e7f-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-12750c79e7f-5:0 (7c3f6843) to be answered in
DeliveryChannel{servicemix-bean} from sendSync
DEBUG - SedaQueue -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@26d6466f dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-5:0
status: Active
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}ValidateService
endpoint: camel127-0-1-1-12750c79e7f-6-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-12750c79e7f-3:0
DEBUG - CamelJbiEndpoint - Received exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-5:0
status: Active
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}ValidateService
endpoint: camel127-0-1-1-12750c79e7f-6-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 - DeliveryChannelImpl - SendSync
ID:127.0.1.1-12750c79e7f-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 - DeliveryChannelImpl - Waiting for exchange
ID:127.0.1.1-12750c79e7f-4:0 (203eb8a) to be answered in
DeliveryChannel{servicemix-camel} from sendSync
DEBUG - SedaQueue -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@4f5cb20e dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-4:0
status: Active
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}RoutingService
endpoint: camel127-0-1-1-12750c79e7f-6-1
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: null
DEBUG - CamelJbiEndpoint - Received exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-4:0
status: Active
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}RoutingService
endpoint: camel127-0-1-1-12750c79e7f-6-1
in: <?xml version="1.0" encoding="UTF-8"?><request
xmlns="http://www.finicity.com">
<updatePassword>
<userName>prat002</userName>
<password>mvelopes</password>
</updatePassword>
</request>
]
DEBUG - DeliveryChannelImpl - SendSync
ID:127.0.1.1-12750c79e7f-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.SedaQueue$1@178339aa dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-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: null
DEBUG - DeliveryChannelImpl - Waiting for exchange
ID:127.0.1.1-12750c79e7f-4:1 (b56efe) to be answered in
DeliveryChannel{servicemix-camel} from sendSync
ERROR - HttpComponent - Error processing exchange InOut[
id: ID:127.0.1.1-12750c79e7f-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:168)
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:172)
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: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-12750c79e7f-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.SedaQueue$1@1d44d9b2 dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-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-12750c79e7f-4:1(b56efe) in DeliveryChannel{servicemix-camel}
from processInboundSynchronousExchange
DEBUG - DeliveryChannelImpl - Notified:
ID:127.0.1.1-12750c79e7f-4:1(b56efe) in DeliveryChannel{servicemix-camel}
from sendSync
ERROR - DeadLetterChannel - Failed delivery for exchangeId:
ID-test-smx/48463-1268370611187/0-0. 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:168)
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:172)
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:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
DEBUG - DeliveryChannelImpl - SendSync
ID:127.0.1.1-12750c79e7f-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
DEBUG - SedaQueue -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@3f4e8936 dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-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: null
DEBUG - DeliveryChannelImpl - Waiting for exchange
ID:127.0.1.1-12750c79e7f-4:2 (2c5f07e8) to be answered in
DeliveryChannel{servicemix-camel} from sendSync
DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750c79e7f-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.SedaQueue$1@362efae4 dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-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 - DeliveryChannelImpl - Notifying exchange
ID:127.0.1.1-12750c79e7f-4:2(2c5f07e8) in DeliveryChannel{servicemix-camel}
from processInboundSynchronousExchange
DEBUG - DeliveryChannelImpl - Notified:
ID:127.0.1.1-12750c79e7f-4:2(2c5f07e8) in DeliveryChannel{servicemix-camel}
from sendSync
DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750c79e7f-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.SedaQueue$1@4bb664bb dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-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: null
ERROR - DeadLetterChannel - Failed delivery for exchangeId:
ID-test-smx/48463-1268370611187/0-0. 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 - DeliveryChannelImpl - Send ID:127.0.1.1-12750c79e7f-4:0
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.SedaQueue$1@70c221d7 dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-4:0
status: Active
role: consumer
service:
{http://servicemix.in2m.com/operations/changepassword}RoutingService
endpoint: camel127-0-1-1-12750c79e7f-6-1
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 - DeliveryChannelImpl - Notifying exchange
ID:127.0.1.1-12750c79e7f-4:0(203eb8a) in DeliveryChannel{servicemix-camel}
from processInboundSynchronousExchange
DEBUG - DeliveryChannelImpl - Notified:
ID:127.0.1.1-12750c79e7f-4:0(203eb8a) in DeliveryChannel{servicemix-camel}
from sendSync
DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750c79e7f-4:0
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.SedaQueue$1@7fad552c dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-4:0
status: Done
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}RoutingService
endpoint: camel127-0-1-1-12750c79e7f-6-1
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: Done,
role: provider
DEBUG - CamelJbiComponent - Retrieved correlation id: null
DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750c79e7f-5:0
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.SedaQueue$1@7d192b0c dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-5:0
status: Active
role: consumer
service:
{http://servicemix.in2m.com/operations/changepassword}ValidateService
endpoint: camel127-0-1-1-12750c79e7f-6-0
in: <?xml version="1.0" encoding="UTF-8"?><request
xmlns="http://www.finicity.com">
<updatePassword>
<userName>prat002</userName>
<password>mvelopes</password>
</updatePassword>
</request>
out: <?xml version="1.0"
encoding="UTF-8"?><response><status>4000</status><message>Connection
Error</message></response>
]
DEBUG - DeliveryChannelImpl - Notifying exchange
ID:127.0.1.1-12750c79e7f-5:0(7c3f6843) in DeliveryChannel{servicemix-bean}
from processInboundSynchronousExchange
DEBUG - DeliveryChannelImpl - Notified:
ID:127.0.1.1-12750c79e7f-5:0(7c3f6843) in DeliveryChannel{servicemix-bean}
from sendSync
DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750c79e7f-5:0
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.SedaQueue$1@347f65f2 dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-5:0
status: Done
role: provider
service:
{http://servicemix.in2m.com/operations/changepassword}ValidateService
endpoint: camel127-0-1-1-12750c79e7f-6-0
in: <?xml version="1.0" encoding="UTF-8"?><request
xmlns="http://www.finicity.com">
<updatePassword>
<userName>prat002</userName>
<password>mvelopes</password>
</updatePassword>
</request>
out: <?xml version="1.0"
encoding="UTF-8"?><response><status>4000</status><message>Connection
Error</message></response>
]
DEBUG - CamelJbiComponent - Received exchange: status: Done,
role: provider
DEBUG - CamelJbiComponent - Retrieved correlation id:
ID:127.0.1.1-12750c79e7f-3:0
DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750c79e7f-3:0
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.SedaQueue$1@15dc0d09 dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-3:0
status: Active
role: consumer
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>
out: <?xml version="1.0"
encoding="UTF-8"?><response><status>4000</status><message>Connection
Error</message></response>
]
DEBUG - HttpComponent - Received exchange: status: Active,
role: consumer
DEBUG - HttpComponent - Retrieved correlation id:
ID:127.0.1.1-12750c79e7f-3:0
DEBUG - HttpComponent - Resuming continuation for exchange:
ID:127.0.1.1-12750c79e7f-3:0
DEBUG - DeliveryChannelImpl - Send ID:127.0.1.1-12750c79e7f-3:0
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.SedaQueue$1@5fbf404f dequeued
exchange: InOut[
id: ID:127.0.1.1-12750c79e7f-3:0
status: Done
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>
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-12750c79e7f-3:0
--
View this message in context: http://old.nabble.com/An-Operation-working-with-3.2.2-now-does-not-work-with-3.3.1-tp27873544p27873548.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.