[JBoss JIRA] Created: (JBESB-1961) [esb/jbpm exception handling] message ends up in endless loop
by Joakim Sandström (JIRA)
[esb/jbpm exception handling] message ends up in endless loop
-------------------------------------------------------------
Key: JBESB-1961
URL: https://jira.jboss.org/jira/browse/JBESB-1961
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Process flow
Affects Versions: 4.4
Reporter: Joakim Sandström
We have configured the exception handling according to 'Scenario 2. Exception Transition' in
http://www.jboss.org/jbossesb/docs/4.3.GA/manuals/html/services/jBPMInteg...
If in ServiceInvoker we're sending a message with exception/fault, we get back the same message containing the fault/exception and this causes yet another exception..
from ServiceInvoker.post:
replyMessage = eprInvoker.attemptDelivery(message, epr);
if (replyMessage != null) {
if (Type.isFaultMessage(replyMessage)) {
Factory.createExceptionFromFault(replyMessage) ;
}
// We've delivered it, we're done!
return replyMessage;
replyMessage is the same as message (which contains the fault), this causes the message to get delivered over and over again.
Example stacktrace, 'WSException: Target endpoint address not set' is thrown in order to simulate backend system failure:
16:05:50,258 WARN [ActionProcessingPipeline] Unexpected exception caught while processing the action pipeline: header: [ To: JMSEpr [ PortReference < <wsa:Address jms://localhost:1099/queue/submit_activate_Request_esb/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : jnp://127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jboss.naming:org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ReplyTo: EPR: PortReference < <wsa:Address logical:JBossESB-Internal#JBpmCallbackService/>, <wsa:ReferenceProperties jbossesb:esbToBpmVars : <esbToBpmVars><mapping esb="BODY_CONTENT" bpm="theBody"/><mapping esb="activation_result" bpm="activation_result"/><mapping esb="address" bpm="address"/><mapping esb="product" bpm="product"/><mapping esb="customer" bpm="customer"/><mapping esb="myid" bpm="myid"/></esbToBpmVars>/>, <wsa:ReferenceProperties jbossesb:jbpmTokenId : 1/>, <wsa:ReferenceProperties jbossesb:jbpmNodeId : 4/>, <wsa:ReferenceProperties jbossesb:jbpmProcessInstId : 1/>, <wsa:ReferenceProperties jbossesb:jbpmProcessNodeVersionCounter4_1 : 0/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/logical/> > FaultTo: EPR: PortReference < <wsa:Address logical:JBossESB-Internal#JBpmCallbackService/>, <wsa:ReferenceProperties jbossesb:esbToBpmVars : <esbToBpmVars><mapping esb="BODY_CONTENT" bpm="theBody"/><mapping esb="activation_result" bpm="activation_result"/><mapping esb="address" bpm="address"/><mapping esb="product" bpm="product"/><mapping esb="customer" bpm="customer"/><mapping esb="myid" bpm="myid"/></esbToBpmVars>/>, <wsa:ReferenceProperties jbossesb:jbpmTokenId : 1/>, <wsa:ReferenceProperties jbossesb:jbpmNodeId : 4/>, <wsa:ReferenceProperties jbossesb:jbpmProcessInstId : 1/>, <wsa:ReferenceProperties jbossesb:jbpmProcessNodeVersionCounter4_1 : 0/>, <wsa:ReferenceProperties jbossesb:jbpmTransitionName : exception/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/logical/> > MessageID: 7f9a4be3-6647-41b6-ad0f-cc2edfc389af RelatesTo: jms:correlationID#7f9a4be3-6647-41b6-ad0f-cc2edfc389af ]
javax.xml.ws.WebServiceException: org.jboss.ws.WSException: Target endpoint address not set
at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:317)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:255)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
at $Proxy108.createSubscription(Unknown Source)
at x.y.z.service.order.na.activatezxc.createzxcSubscription(activatezxc.java:61)
at x.y.z.service.order.TuotteenAktivointi.activateProduct(TuotteenAktivointi.java:94)
at x.y.z.service.order.TuotteenAktivointi.process(TuotteenAktivointi.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:102)
at org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.process(OverriddenActionLifecycleProcessor.java:74)
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.ws.WSException: Target endpoint address not set
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:329)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
... 17 more
16:06:02,222 ERROR [ActionProcessingPipeline] Failed to send fault to address EPR: PortReference < <wsa:Address logical:JBossESB-Internal#JBpmCallbackService/>, <wsa:ReferenceProperties jbossesb:esbToBpmVars : <esbToBpmVars><mapping esb="BODY_CONTENT" bpm="theBody"/><mapping esb="activation_result" bpm="activation_result"/><mapping esb="address" bpm="address"/><mapping esb="product" bpm="product"/><mapping esb="customer" bpm="customer"/><mapping esb="myid" bpm="myid"/></esbToBpmVars>/>, <wsa:ReferenceProperties jbossesb:jbpmTokenId : 1/>, <wsa:ReferenceProperties jbossesb:jbpmNodeId : 4/>, <wsa:ReferenceProperties jbossesb:jbpmProcessInstId : 1/>, <wsa:ReferenceProperties jbossesb:jbpmProcessNodeVersionCounter4_1 : 0/>, <wsa:ReferenceProperties jbossesb:jbpmTransitionName : exception/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/logical/> > for message header: [ To: EPR: PortReference < <wsa:Address logical:JBossESB-Internal#JBpmCallbackService/>, <wsa:ReferenceProperties jbossesb:esbToBpmVars : <esbToBpmVars><mapping esb="BODY_CONTENT" bpm="theBody"/><mapping esb="activation_result" bpm="activation_result"/><mapping esb="address" bpm="address"/><mapping esb="product" bpm="product"/><mapping esb="customer" bpm="customer"/><mapping esb="myid" bpm="myid"/></esbToBpmVars>/>, <wsa:ReferenceProperties jbossesb:jbpmTokenId : 1/>, <wsa:ReferenceProperties jbossesb:jbpmNodeId : 4/>, <wsa:ReferenceProperties jbossesb:jbpmProcessInstId : 1/>, <wsa:ReferenceProperties jbossesb:jbpmProcessNodeVersionCounter4_1 : 0/>, <wsa:ReferenceProperties jbossesb:jbpmTransitionName : exception/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/logical/> > From: JMSEpr [ PortReference < <wsa:Address jms://localhost:1099/queue/submit_activate_Request_esb/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : jnp://127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jboss.naming:org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] RelatesTo: 7f9a4be3-6647-41b6-ad0f-cc2edfc389af ]
org.jboss.soa.esb.listeners.message.MessageDeliverException: Unexpected FaultMessageException during message delivery.
at org.jboss.soa.esb.client.ServiceInvoker.deliverAsync(ServiceInvoker.java:246)
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.messageTo(ActionProcessingPipeline.java:511)
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.faultTo(ActionProcessingPipeline.java:471)
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:352)
at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.soa.esb.couriers.FaultMessageException: javax.xml.ws.WebServiceException: org.jboss.ws.WSException: Target endpoint address not set
at org.jboss.soa.esb.listeners.message.errors.Factory.createExceptionFromFault(Factory.java:49)
at org.jboss.soa.esb.client.ServiceInvoker.post(ServiceInvoker.java:321)
at org.jboss.soa.esb.client.ServiceInvoker.deliverAsync(ServiceInvoker.java:227)
... 7 more
Caused by: javax.xml.ws.WebServiceException: org.jboss.ws.WSException: Target endpoint address not set
at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:317)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:255)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
at $Proxy108.createSubscription(Unknown Source)
at x.y.z.service.order.na.activatezxc.createzxcSubscription(activatezxc.java:61)
at x.y.z.service.order.TuotteenAktivointi.activateProduct(TuotteenAktivointi.java:94)
at x.y.z.service.order.TuotteenAktivointi.process(TuotteenAktivointi.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:102)
at org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.process(OverriddenActionLifecycleProcessor.java:74)
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
... 4 more
Caused by: org.jboss.ws.WSException: Target endpoint address not set
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:329)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
... 17 more
..
..
16:09:05,637 WARN [ActionProcessingPipeline] Unexpected exception caught while processing the action pipeline: header: [ To: JMSEpr [ PortReference < <wsa:Address jms://localhost:1099/queue/submit_activate_Request_esb/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : jnp://127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jboss.naming:org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ReplyTo: EPR: PortReference < <wsa:Address logical:JBossESB-Internal#JBpmCallbackService/>, <wsa:ReferenceProperties jbossesb:esbToBpmVars : <esbToBpmVars><mapping esb="BODY_CONTENT" bpm="theBody"/><mapping esb="activation_result" bpm="activation_result"/><mapping esb="address" bpm="address"/><mapping esb="product" bpm="product"/><mapping esb="customer" bpm="customer"/><mapping esb="myid" bpm="myid"/></esbToBpmVars>/>, <wsa:ReferenceProperties jbossesb:jbpmTokenId : 2/>, <wsa:ReferenceProperties jbossesb:jbpmNodeId : 4/>, <wsa:ReferenceProperties jbossesb:jbpmProcessInstId : 2/>, <wsa:ReferenceProperties jbossesb:jbpmProcessNodeVersionCounter4_2 : 0/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/logical/> > FaultTo: EPR: PortReference < <wsa:Address logical:JBossESB-Internal#JBpmCallbackService/>, <wsa:ReferenceProperties jbossesb:esbToBpmVars : <esbToBpmVars><mapping esb="BODY_CONTENT" bpm="theBody"/><mapping esb="activation_result" bpm="activation_result"/><mapping esb="address" bpm="address"/><mapping esb="product" bpm="product"/><mapping esb="customer" bpm="customer"/><mapping esb="myid" bpm="myid"/></esbToBpmVars>/>, <wsa:ReferenceProperties jbossesb:jbpmTokenId : 2/>, <wsa:ReferenceProperties jbossesb:jbpmNodeId : 4/>, <wsa:ReferenceProperties jbossesb:jbpmProcessInstId : 2/>, <wsa:ReferenceProperties jbossesb:jbpmProcessNodeVersionCounter4_2 : 0/>, <wsa:ReferenceProperties jbossesb:jbpmTransitionName : exception/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/logical/> > MessageID: efcbd07a-5884-47cd-8430-87054e162a7f RelatesTo: jms:correlationID#efcbd07a-5884-47cd-8430-87054e162a7f ]
javax.xml.ws.WebServiceException: org.jboss.ws.WSException: Target endpoint address not set
at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:317)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:255)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
at $Proxy108.createSubscription(Unknown Source)
at x.y.z.service.order.na.activatezxc.createzxcSubscription(activatezxc.java:61)
at x.y.z.service.order.TuotteenAktivointi.activateProduct(TuotteenAktivointi.java:94)
at x.y.z.service.order.TuotteenAktivointi.process(TuotteenAktivointi.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:102)
at org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.process(OverriddenActionLifecycleProcessor.java:74)
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.ws.WSException: Target endpoint address not set
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:329)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
... 17 more
16:09:06,804 ERROR [ActionProcessingPipeline] Failed to send fault to address EPR: PortReference < <wsa:Address logical:JBossESB-Internal#JBpmCallbackService/>, <wsa:ReferenceProperties jbossesb:esbToBpmVars : <esbToBpmVars><mapping esb="BODY_CONTENT" bpm="theBody"/><mapping esb="activation_result" bpm="activation_result"/><mapping esb="address" bpm="address"/><mapping esb="product" bpm="product"/><mapping esb="customer" bpm="customer"/><mapping esb="myid" bpm="myid"/></esbToBpmVars>/>, <wsa:ReferenceProperties jbossesb:jbpmTokenId : 2/>, <wsa:ReferenceProperties jbossesb:jbpmNodeId : 4/>, <wsa:ReferenceProperties jbossesb:jbpmProcessInstId : 2/>, <wsa:ReferenceProperties jbossesb:jbpmProcessNodeVersionCounter4_2 : 0/>, <wsa:ReferenceProperties jbossesb:jbpmTransitionName : exception/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/logical/> > for message header: [ To: EPR: PortReference < <wsa:Address logical:JBossESB-Internal#JBpmCallbackService/>, <wsa:ReferenceProperties jbossesb:esbToBpmVars : <esbToBpmVars><mapping esb="BODY_CONTENT" bpm="theBody"/><mapping esb="activation_result" bpm="activation_result"/><mapping esb="address" bpm="address"/><mapping esb="product" bpm="product"/><mapping esb="customer" bpm="customer"/><mapping esb="myid" bpm="myid"/></esbToBpmVars>/>, <wsa:ReferenceProperties jbossesb:jbpmTokenId : 2/>, <wsa:ReferenceProperties jbossesb:jbpmNodeId : 4/>, <wsa:ReferenceProperties jbossesb:jbpmProcessInstId : 2/>, <wsa:ReferenceProperties jbossesb:jbpmProcessNodeVersionCounter4_2 : 0/>, <wsa:ReferenceProperties jbossesb:jbpmTransitionName : exception/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/logical/> > From: JMSEpr [ PortReference < <wsa:Address jms://localhost:1099/queue/submit_activate_Request_esb/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : jnp://127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jboss.naming:org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] RelatesTo: efcbd07a-5884-47cd-8430-87054e162a7f ]
org.jboss.soa.esb.listeners.message.MessageDeliverException: Unexpected FaultMessageException during message delivery.
at org.jboss.soa.esb.client.ServiceInvoker.deliverAsync(ServiceInvoker.java:246)
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.messageTo(ActionProcessingPipeline.java:511)
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.faultTo(ActionProcessingPipeline.java:471)
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:352)
at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.soa.esb.couriers.FaultMessageException: javax.xml.ws.WebServiceException: org.jboss.ws.WSException: Target endpoint address not set
at org.jboss.soa.esb.listeners.message.errors.Factory.createExceptionFromFault(Factory.java:49)
at org.jboss.soa.esb.client.ServiceInvoker.post(ServiceInvoker.java:321)
at org.jboss.soa.esb.client.ServiceInvoker.deliverAsync(ServiceInvoker.java:227)
... 7 more
Caused by: javax.xml.ws.WebServiceException: org.jboss.ws.WSException: Target endpoint address not set
at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:317)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:255)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
at $Proxy108.createSubscription(Unknown Source)
at x.y.z.service.order.na.activatezxc.createzxcSubscription(activatezxc.java:61)
at x.y.z.service.order.TuotteenAktivointi.activateProduct(TuotteenAktivointi.java:94)
at x.y.z.service.order.TuotteenAktivointi.process(TuotteenAktivointi.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:102)
at org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.process(OverriddenActionLifecycleProcessor.java:74)
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
... 4 more
Caused by: org.jboss.ws.WSException: Target endpoint address not set
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:329)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
... 17 more
16:09:08,616 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.TaskNode - this operation breaks ==
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[JBoss JIRA] Created: (JBESB-2060) ServiceInvoker fails to find HAJNDI when invoked in clustered environment
by Magesh Kumar B (JIRA)
ServiceInvoker fails to find HAJNDI when invoked in clustered environment
-------------------------------------------------------------------------
Key: JBESB-2060
URL: https://jira.jboss.org/jira/browse/JBESB-2060
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Registry and Repository, Rosetta, Transports
Affects Versions: 4.2.1 CP2
Environment: SOA-P and Fedora9 Linux
Reporter: Magesh Kumar B
Create two instances of SOA-P in Linux platform using the ports binding service. Start the two instances. Change the InquiryURI and PublishURI as below in jbossesb-properties.xml inside samples/quickstarts/helloworld:
<property name="org.jboss.soa.esb.registry.queryManagerURI"
value="jnp://127.0.0.1:1100/InquiryService?org.apache.juddi.registry.rmi.Inquiry#inquire"/>
<property name="org.jboss.soa.esb.registry.lifeCycleManagerURI"
value="jnp://127.0.0.1:1100/PublishService?org.apache.juddi.registry.rmi.Publish#publish" />
Notice they use HAJNDI ports. Deploy Quicktsart_helloworld_esb and run "ant sendesb", the test fails with exception:
sendesb:
[echo] Runs Test ESB Message Sender
[java] Exception in thread "main" org.jboss.soa.esb.listeners.message.MessageDeliverException: Failed to deliver message [header: [ ]] to Service [JBossESB-Internal:DeadLetterService]. Check for errors.
[java] at org.jboss.soa.esb.client.ServiceInvoker.post(ServiceInvoker.java:356)
[java] at org.jboss.soa.esb.client.ServiceInvoker.deliverAsync(ServiceInvoker.java:225)
[java] at org.jboss.soa.esb.client.ServiceInvoker.deliverToDeadLetterService(ServiceInvoker.java:267)
[java] at org.jboss.soa.esb.client.ServiceInvoker.deliverAsync(ServiceInvoker.java:235)
[java] at org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage.main(SendEsbMessage.java:55)
However, this only happens in Linux enviornment (Fedora9 in my test) and passes in Windows. Also the HAJNDI port 1100 works if only one instance is running in that cluster partition.
When we use these ports 1100/1200 in JMS client and do "ant runtest", they connect seamlessly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months