You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Mukesh Mediratta <me...@mail.nih.gov> on 2008/06/03 17:02:26 UTC
Unknown consumer exchange error
We have configured EIP routing component to route to multiple components in a
Beans SU based on the message metadata. If one of the components in a Beans
SU returns a fault we send a rollback message through the EIP routing
component to the various target components in Beans SU.
We notice that initial message goes throuh fine with no exceptions reported
in servicemix.log. However we see following exceptions in the servicemix.log
file for a rollback message. The components perform correctly even in
rollback situation and we donot seen any functional error but we see
following exceptions in the log. Please note that we see these exceptions
only when a rollback is initiated.
Could you please help us understand this.
Thanks
Mukesh Mediratta
java.lang.IllegalStateException: Receiving unknown consumer exchange:
InOnly[
id: ID:169.254.25.129-11a4edc88bc-12:0
status: Done
role: consumer
service: {http://nci.nih.gov/caXchange}rollbackPipeline
endpoint: rollbackPipelineEndpoint
in: <?xml version="1.0" encoding="UTF-8"?><ns1:caXchangeRequestMessage
xmlns:ns1="http://caXchange.nci.nih.gov/messaging">
<ns1:metadata>
<ns1:operation
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">ROLLBACK</ns1:operation>
<ns1:messageType>REGISTER_SUBJECT</ns1:messageType>
<ns1:externalIdentifier>myExternalIdentifier</ns1:externalIdentifier>
<ns1:caXchangeIdentifier>503502a0-317c-11dd-a7cf-c12c4f82d107</ns1:caXchangeIdentifier>
<ns1:credentials>
<ns1:userName>hmarwaha</ns1:userName>
<ns1:password>password</ns1:password>
<ns1:delegatedCredentialReference><ns1:DelegatedCredentialReference
xmlns:ns1="http://cds.gaards.cagrid.org/CredentialDelegationService/DelegatedCredential/types
"><ns2:EndpointReference xsi:type="ns2:EndpointReferenceType"
xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ns2:Address
xsi:type="ns2:AttributedURI">https://cbvapp-d1017.nci.nih.gov:58443/wsrf/services/cagrid/DelegatedCredential</ns2:Address>
<ns2:ReferenceProperties xsi:type="ns2:ReferencePropertiesType">
<ns2:DelegatedCredentialKey
xmlns:ns2="http://cds.gaards.cagrid.org/CredentialDelegationService/DelegatedCredential">
<ns3:delegationId
xmlns:ns3="http://gaards.cagrid.org/cds">844</ns3:delegationId>
</ns2:DelegatedCredentialKey> </ns2:ReferenceProperties>
<ns2:ReferenceParameters xsi:type="ns2:ReferenceParametersT...
]
at
org.apache.servicemix.bean.BeanEndpoint.onConsumerExchange(BeanEndpoint.java:266)
at org.apache.servicemix.bean.BeanEndpoint.process(BeanEndpoint.java:196)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:489)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:463)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:595)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:174)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:595)
10:50:03,140 | ERROR | pool-flow.seda.caXchange-servicemix-eip-se-thread-2 |
CommonLoggingListener | bi.audit.CommonLoggingListener 121 | InOnly[
id: ID:169.254.25.129-11a4edc88bc-12:0
status: Error
role: consumer
service: {http://nci.nih.gov/caXchange}rollbackPipeline
endpoint: rollbackPipelineEndpoint
in: <?xml version="1.0" encoding="UTF-8"?><ns1:caXchangeRequestMessage
xmlns:ns1="http://caXchange.nci.nih.gov/messaging">
<ns1:metadata>
<ns1:operation
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">ROLLBACK</ns1:operation>
<ns1:messageType>REGISTER_SUBJECT</ns1:messageType>
<ns1:externalIdentifier>myExternalIdentifier</ns1:externalIdentifier>
<ns1:caXchangeIdentifier>503502a0-317c-11dd-a7cf-c12c4f82d107</ns1:caXchangeIdentifier>
<ns1:credentials>
<ns1:userName>hmarwaha</ns1:userName>
<ns1:password>password</ns1:password>
<ns1:delegatedCredentialReference><ns1:DelegatedCredentialReference
xmlns:ns1="http://cds.gaards.cagrid.org/CredentialDelegationService/DelegatedCredential/types
"><ns2:EndpointReference xsi:type="ns2:EndpointReferenceType"
xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ns2:Address
xsi:type="ns2:AttributedURI">https://cbvapp-d1017.nci.nih.gov:58443/wsrf/services/cagrid/DelegatedCredential</ns2:Address>
<ns2:ReferenceProperties xsi:type="ns2:ReferencePropertiesType">
<ns2:DelegatedCredentialKey
xmlns:ns2="http://cds.gaards.cagrid.org/CredentialDelegationService/DelegatedCredential">
<ns3:delegationId
xmlns:ns3="http://gaards.cagrid.org/cds">844</ns3:delegationId>
</ns2:DelegatedCredentialKey> </ns2:ReferenceProperties>
<ns2:ReferenceParameters xsi:type="ns2:ReferenceParametersT...
error: java.lang.IllegalStateException: Receiving unknown consumer
exchange: InOnly[
id: ID:169.254.25.129-11a4edc88bc-12:0
status: Done
role: consumer
service: {http://nci.nih.gov/caXchange}rollbackPipeline
endpoint: rollbackPipelineEndpoint
in: <?xml version="1.0" encoding="UTF-8"?><ns1:caXchangeRequestMessage
xmlns:ns1="http://caXchange.nci.nih.gov/messaging">
<ns1:metadata>
<ns1:operation
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">ROLLBACK</ns1:operation>
<ns1:messageType>REGISTER_SUBJECT</ns1:messageType>
<ns1:externalIdentifier>myExternalIdentifier</ns1:externalIdentifier>
<ns1:caXchangeIdentifier>503502a0-317c-11dd-a7cf-c12c4f82d107</ns1:caXchangeIdentifier>
<ns1:credentials>
<ns1:userName>hmarwaha</ns1:userName>
<ns1:password>password</ns1:password>
<ns1:delegatedCredentialReference><ns1:DelegatedCredentialReference
xmlns:ns1="http://cds.gaards.cagrid.org/CredentialDelegationService/DelegatedCredential/types
"><ns2:EndpointReference xsi:type="ns2:EndpointReferenceType"
xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/03/addressing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ns2:Address
xsi:type="ns2:AttributedURI">https://cbvapp-d1017.nci.nih.gov:58443/wsrf/services/cagrid/DelegatedCredential</ns2:Address>
<ns2:ReferenceProperties xsi:type="ns2:ReferencePropertiesType">
<ns2:DelegatedCredentialKey
xmlns:ns2="http://cds.gaards.cagrid.org/CredentialDelegationService/DelegatedCredential">
<ns3:delegationId
xmlns:ns3="http://gaards.cagrid.org/cds">844</ns3:delegationId>
</ns2:DelegatedCredentialKey> </ns2:ReferenceProperties>
<ns2:ReferenceParameters xsi:type="ns2:ReferenceParametersT...
]
]
10:50:03,203 | ERROR | pool-flow.seda.caXchange-servicemix-eip-se-thread-2 |
BeanComponent | ervicemix.common.BaseLifeCycle 60 | Error
setting exchange status to ERROR
javax.jbi.messaging.MessagingException: illegal call to send / sendSync
at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:571)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:372)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:419)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:58)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:595)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:174)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:595)
--
View this message in context: http://www.nabble.com/Unknown-consumer-exchange-error-tp17625691p17625691.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.