users@glassfish.java.net

BPEL to BPEL in different instances.

From: <glassfish_at_javadesktop.org>
Date: Sat, 05 Jun 2010 09:51:56 PDT

Hi, I have the following problem:

In the defalult domain (domain 1) i have 2 machine: the server containing the DAS and another PC ( PC2 ). I have created a cluster (cluster1) with 1 instance (and the corresponding agent) on PC2.
After I created a BPEL Process (BPEL Process1) that invoke another BPEL Process (BPEL Process2), I created a CASA for BPEL Process 1 and deployed on the server, I created a CASA for BPEL process 2 anf deployed on PC2 (cluster1), but when i try to test the application (if i Test the 2 applications in the same instance works fine) , I get the following error:

BPCOR-6135: A fault was not handled in the process scope; Fault Name is {http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault; Fault Data is &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&amp;lt;jbi:message xmlns:sxeh=&amp;quot;http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling&amp;quot; type=&amp;quot;sxeh:faultMessage&amp;quot; version=&amp;quot;1.0&amp;quot; xmlns:jbi=&amp;quot;http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper&amp;quot;&amp;gt;&amp;lt;jbi:part&amp;gt;HTTP Status-Code 404: Not Found - Not Found&amp;lt;/jbi:part&amp;gt;&amp;lt;/jbi:message&amp;gt;. Sending errors for the pending requests in the process scope before terminating the process instance
   Caused by: BPCOR-6131: An Error status was received while doing an invoke (partnerLink=PartnerLink2, portType={http://j2ee.netbeans.org/wsdl/server/server}serverPortType, operation=serverOperation)
BPCOR-6129: Line Number is 32
BPCOR-6130: Activity Name is Invoke1
   Caused by: HTTP Status-Code 404: Not Found - Not Found

and below there is the log of the server:

The process instance has been terminated because a fault was not handled; Fault Name is {http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault; Fault Data is <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" type="sxeh:faultMessage" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part>HTTP Status-Code 404: Not Found - Not Found</jbi:part></jbi:message> com.sun.jbi.engine.bpel.core.bpel.exception.SystemException: BPCOR-6131: An Error status was received while doing an invoke (partnerLink=PartnerLink2, portType={http://j2ee.netbeans.org/wsdl/server/server}serverPortType, operation=serverOperation) BPCOR-6129: Line Number is 32 BPCOR-6130: Activity Name is Invoke1 at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.InvokeUnitImpl.processStatus(InvokeUnitImpl.java:974) at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.InvokeUnitImpl.process(InvokeUnitImpl.java:547) at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.InvokeUnitImpl.doAction(InvokeUnitImpl.java:183) at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:163) at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:98) at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:1133) at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:280) at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:1336) at com.sun.jbi.engine.bpel.BPELSEInOutThread.processStatus(BPELSEInOutThread.java:384) at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:241) at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:193) Caused by: com.sun.xml.ws.client.ClientTransportException: HTTP Status-Code 404: Not Found - Not Found at com.sun.xml.ws.transport.http.client.HttpClientTransport.checkResponseCode(HttpClientTransport.java:219) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:152) at com.sun.xml.xwss.XWSSClientPipe.process(XWSSClientPipe.java:160) at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436) at com.sun.xml.ws.client.Stub.process(Stub.java:248) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:180) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:1256) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1296) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:747) at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:257) at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63) 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).

Below there is descriptor of the Service Assembly:


It seems that during the invoke the bpel process can't find the provide endpoint, but I don't get the reason. In the CASA for BPEL process 1 I have 2 SOAP HTTP binding ( one for access BPEL 1 and the second form the BPEL1 consume endpoint to the provide endpoint of the CASA for BPEL Process 2 ) and in the CASA for BPEL process 2 I have one binding (From the CASA consume endpoint to the BPEL process 2 provide andpoint) If someone know something in regards it could be a lot of help. If there is necessity for more information ( configuration of the instance,etc. ), i would gladly give them.

Thank you.
[Message sent by forum member 'emanuelecar']

http://forums.java.net/jive/thread.jspa?messageID=472897