You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Pishava <pi...@yahoo.com> on 2009/04/24 14:54:46 UTC
Problem in BPEL Inovokation - Process is retired
Hello,
but when I test the BPEL by sending the following SOAP request :
I am not sure whether the problem tha I have faced already discussed in the mailing list or not, since I couldn't find any hit though google.
I have developed the following simple BPEL using BPEL designer and I deployed it successfully in Apache Tomcat + ODE 1.2. But when I send the a SOAP message to test the BPEL , I got the following error messge in Tomcat log file. I have been struggling with this error for couple of days but nu success yet! Any help. comment really appreciated.
Error message:
DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation: name=process
style=REQUEST_RESPONSE,1
Input: name=null
Message: name={http://sample.bpel.org/bpel/sample}ODEHelloRequestMessage
Part: name=payload
elementName={http://sample.bpel.org/bpel/sample}ODEHelloRequest
Output: name=null
Message: name={http://sample.bpel.org/bpel/sample}ODEHelloResponseMessage
Part: name=payload
elementName={http://sample.bpel.org/bpel/sample}ODEHelloResponse from service {http://sample.bpel.org/bpel/sample}ODEHelloService
DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX {MyRoleMex#hqejbhcnphr481c5um2d6m [Client hqejbhcnphr481c5um2d6l] calling {http://sample.bpel.org/bpel/sample}ODEHelloService.process(...)}
DEBUG - GeronimoLog.debug(66) | Message content: <?xml version="1.0" encoding="UTF-8"?>
<message><payload><ODEHelloRequest xmlns="http://sample.bpel.org/bpel/sample" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://sample.bpel.org/bpel/sample">
<input>Hello BPEL World!</input>
</ODEHelloRequest></payload></message>
DEBUG - GeronimoLog.debug(66) | Routed: svcQname {http://sample.bpel.org/bpel/sample}ODEHelloService --> BpelProcess[{http://sample.bpel.org/bpel/sample}ODEHello-1]
DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{http://sample.bpel.org/bpel/sample}ODEHello-1]
DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX {MyRoleMex#hqejbhcnphr481c5um2d6m [Client hqejbhcnphr481c5um2d6l] calling {http://sample.bpel.org/bpel/sample}ODEHelloService.process(...)}
DEBUG - GeronimoLog.debug(66) | Commiting transaction.
DEBUG - GeronimoLog.debug(66) | >> handleWorkEvent(jobData={type=INVOKE_INTERNAL, mexid=hqejbhcnphr481c5um2d6m, pid={http://sample.bpel.org/bpel/sample}ODEHello-1})
DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid hqejbhcnphr481c5um2d6m
DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.partnerRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: 12.process: MSG RCVD keys=[] mySessionId=null partnerSessionId=null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: 12.process: routing failed, CREATING NEW INSTANCE
ERROR - GeronimoLog.error(108) | Scheduled job failed; jobDetail={type=INVOKE_INTERNAL, mexid=hqejbhcnphr481c5um2d6m, pid={http://sample.bpel.org/bpel/sample}ODEHello-1}
org.apache.ode.bpel.runtime.InvalidProcessException: Process is retired.
at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:173)
at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:204)
at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:372)
at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:326)
at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:337)
at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:336)
at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:174)
at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:335)
at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:332)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
ERROR - GeronimoLog.error(108) | Error while processing transaction, retrying.
org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: org.apache.ode.bpel.runtime.InvalidProcessException: Process is retired.
at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:336)
at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:337)
at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:336)
at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:174)
at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:335)
at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:332)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
--------------------------------------------
BPEL :
<bpel:process name="ODEHello"
targetNamespace="http://sample.bpel.org/bpel/sample"
suppressJoinFailure="yes"
xmlns:tns="http://sample.bpel.org/bpel/sample"
xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
>
<!-- Import the client WSDL -->
<bpel:import location="ODEHelloArtifacts.wsdl" namespace="http://sample.bpel.org/bpel/sample"
importType="http://schemas.xmlsoap.org/wsdl/" />
<!-- ================================================================= -->
<!-- PARTNERLINKS -->
<!-- List of services participating in this BPEL process -->
<!-- ================================================================= -->
<bpel:partnerLinks>
<!-- The 'client' role represents the requester of this service. -->
<bpel:partnerLink name="client"
partnerLinkType="tns:ODEHello"
myRole="ODEHelloProvider"
/>
</bpel:partnerLinks>
<!-- ================================================================= -->
<!-- VARIABLES -->
<!-- List of messages and XML documents used within this BPEL process -->
<!-- ================================================================= -->
<bpel:variables>
<!-- Reference to the message passed as input during initiation -->
<bpel:variable name="input"
messageType="tns:ODEHelloRequestMessage"/>
<!--
Reference to the message that will be returned to the requester
-->
<bpel:variable name="output"
messageType="tns:ODEHelloResponseMessage"/>
</bpel:variables>
<!-- ================================================================= -->
<!-- ORCHESTRATION LOGIC -->
<!-- Set of activities coordinating the flow of messages across the -->
<!-- services integrated within this business process -->
<!-- ================================================================= -->
<bpel:sequence name="main">
<!-- Receive input from requester.
Note: This maps to operation defined in ODEHello.wsdl
-->
<bpel:receive name="receiveInput" partnerLink="client"
portType="tns:ODEHelloPortType"
operation="process" variable="input"
createInstance="yes"/>
<!-- Generate reply to synchronous request -->
<bpel:assign validate="no" name="Assign">
<bpel:copy>
<bpel:from>
<bpel:literal xml:space="preserve">
<tns:ODEHelloResponse xmlns:tns="http://sample.bpel.org/bpel/sample" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tns:result>EmptyOutput</tns:result>
</tns:ODEHelloResponse>
</bpel:literal>
</bpel:from>
<bpel:to variable="output" part="payload"></bpel:to>
</bpel:copy>
<!-- <bpel:copy>
<bpel:from part="payload" variable="input">
<bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:input]]></bpel:query>
</bpel:from>
<bpel:to part="payload" variable="output">
<bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:result]]></bpel:query>
</bpel:to>
</bpel:copy>
-->
</bpel:assign>
<bpel:reply name="replyOutput"
partnerLink="client"
portType="tns:ODEHelloPortType"
operation="process"
variable="output"
/>
</bpel:sequence>
</bpel:process>
---------------------------------------------
Test SOAP messge:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<!-- test soap message -->
<SOAP-ENV:Body>
<ns1:ODEHelloRequest xmlns:ns1="http://sample.bpel.org/bpel/sample">
<ns1:input>Hello BPEL World!</ns1:input>
</ns1:ODEHelloRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Re: Problem in BPEL Inovokation - Process is retired
Posted by Tammo van Lessen <tv...@gmail.com>.
Hi Pishava,
did you create the deploy.xml with Eclipse? This is a known problem with
this combination but has already been resolved in the SVN versions of ODE.
Without updating ODE, please remove the <retired> element from
deploy.xml and the process should work as expected.
Best,
Tammo
Pishava wrote:
> Hello,
> but when I test the BPEL by sending the following SOAP request :
>
> I am not sure whether the problem tha I have faced already discussed in the mailing list or not, since I couldn't find any hit though google.
>
>
> I have developed the following simple BPEL using BPEL designer and I deployed it successfully in Apache Tomcat + ODE 1.2. But when I send the a SOAP message to test the BPEL , I got the following error messge in Tomcat log file. I have been struggling with this error for couple of days but nu success yet! Any help. comment really appreciated.
>
> Error message:
>
> DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation: name=process
> style=REQUEST_RESPONSE,1
> Input: name=null
> Message: name={http://sample.bpel.org/bpel/sample}ODEHelloRequestMessage
> Part: name=payload
> elementName={http://sample.bpel.org/bpel/sample}ODEHelloRequest
> Output: name=null
> Message: name={http://sample.bpel.org/bpel/sample}ODEHelloResponseMessage
> Part: name=payload
> elementName={http://sample.bpel.org/bpel/sample}ODEHelloResponse from service {http://sample.bpel.org/bpel/sample}ODEHelloService
> DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX {MyRoleMex#hqejbhcnphr481c5um2d6m [Client hqejbhcnphr481c5um2d6l] calling {http://sample.bpel.org/bpel/sample}ODEHelloService.process(...)}
> DEBUG - GeronimoLog.debug(66) | Message content: <?xml version="1.0" encoding="UTF-8"?>
> <message><payload><ODEHelloRequest xmlns="http://sample.bpel.org/bpel/sample" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://sample.bpel.org/bpel/sample">
> <input>Hello BPEL World!</input>
> </ODEHelloRequest></payload></message>
> DEBUG - GeronimoLog.debug(66) | Routed: svcQname {http://sample.bpel.org/bpel/sample}ODEHelloService --> BpelProcess[{http://sample.bpel.org/bpel/sample}ODEHello-1]
> DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{http://sample.bpel.org/bpel/sample}ODEHello-1]
> DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX {MyRoleMex#hqejbhcnphr481c5um2d6m [Client hqejbhcnphr481c5um2d6l] calling {http://sample.bpel.org/bpel/sample}ODEHelloService.process(...)}
> DEBUG - GeronimoLog.debug(66) | Commiting transaction.
> DEBUG - GeronimoLog.debug(66) | >> handleWorkEvent(jobData={type=INVOKE_INTERNAL, mexid=hqejbhcnphr481c5um2d6m, pid={http://sample.bpel.org/bpel/sample}ODEHello-1})
> DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid hqejbhcnphr481c5um2d6m
> DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.myRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.myRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.partnerRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | INPUTMSG: 12.process: MSG RCVD keys=[] mySessionId=null partnerSessionId=null
> DEBUG - GeronimoLog.debug(66) | INPUTMSG: 12.process: routing failed, CREATING NEW INSTANCE
> ERROR - GeronimoLog.error(108) | Scheduled job failed; jobDetail={type=INVOKE_INTERNAL, mexid=hqejbhcnphr481c5um2d6m, pid={http://sample.bpel.org/bpel/sample}ODEHello-1}
> org.apache.ode.bpel.runtime.InvalidProcessException: Process is retired.
> at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:173)
> at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:204)
> at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:372)
> at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:326)
> at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:337)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:336)
> at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:174)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:335)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:332)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> at java.lang.Thread.run(Thread.java:595)
> ERROR - GeronimoLog.error(108) | Error while processing transaction, retrying.
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: org.apache.ode.bpel.runtime.InvalidProcessException: Process is retired.
> at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:336)
> at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:337)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:336)
> at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:174)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:335)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:332)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> at java.lang.Thread.run(Thread.java:595)
>
> --------------------------------------------
> BPEL :
>
> <bpel:process name="ODEHello"
> targetNamespace="http://sample.bpel.org/bpel/sample"
> suppressJoinFailure="yes"
> xmlns:tns="http://sample.bpel.org/bpel/sample"
> xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
> >
>
> <!-- Import the client WSDL -->
> <bpel:import location="ODEHelloArtifacts.wsdl" namespace="http://sample.bpel.org/bpel/sample"
> importType="http://schemas.xmlsoap.org/wsdl/" />
>
> <!-- ================================================================= -->
> <!-- PARTNERLINKS -->
> <!-- List of services participating in this BPEL process -->
> <!-- ================================================================= -->
> <bpel:partnerLinks>
> <!-- The 'client' role represents the requester of this service. -->
> <bpel:partnerLink name="client"
> partnerLinkType="tns:ODEHello"
> myRole="ODEHelloProvider"
> />
> </bpel:partnerLinks>
>
> <!-- ================================================================= -->
> <!-- VARIABLES -->
> <!-- List of messages and XML documents used within this BPEL process -->
> <!-- ================================================================= -->
> <bpel:variables>
> <!-- Reference to the message passed as input during initiation -->
> <bpel:variable name="input"
> messageType="tns:ODEHelloRequestMessage"/>
>
> <!--
> Reference to the message that will be returned to the requester
> -->
> <bpel:variable name="output"
> messageType="tns:ODEHelloResponseMessage"/>
> </bpel:variables>
>
> <!-- ================================================================= -->
> <!-- ORCHESTRATION LOGIC -->
> <!-- Set of activities coordinating the flow of messages across the -->
> <!-- services integrated within this business process -->
> <!-- ================================================================= -->
> <bpel:sequence name="main">
>
> <!-- Receive input from requester.
> Note: This maps to operation defined in ODEHello.wsdl
> -->
> <bpel:receive name="receiveInput" partnerLink="client"
> portType="tns:ODEHelloPortType"
> operation="process" variable="input"
> createInstance="yes"/>
>
> <!-- Generate reply to synchronous request -->
> <bpel:assign validate="no" name="Assign">
> <bpel:copy>
> <bpel:from>
> <bpel:literal xml:space="preserve">
> <tns:ODEHelloResponse xmlns:tns="http://sample.bpel.org/bpel/sample" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <tns:result>EmptyOutput</tns:result>
> </tns:ODEHelloResponse>
> </bpel:literal>
> </bpel:from>
> <bpel:to variable="output" part="payload"></bpel:to>
> </bpel:copy>
> <!-- <bpel:copy>
> <bpel:from part="payload" variable="input">
> <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:input]]></bpel:query>
> </bpel:from>
> <bpel:to part="payload" variable="output">
> <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:result]]></bpel:query>
> </bpel:to>
> </bpel:copy>
> -->
> </bpel:assign>
> <bpel:reply name="replyOutput"
> partnerLink="client"
> portType="tns:ODEHelloPortType"
> operation="process"
> variable="output"
> />
> </bpel:sequence>
> </bpel:process>
>
> ---------------------------------------------
> Test SOAP messge:
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
> <!-- test soap message -->
> <SOAP-ENV:Body>
>
> <ns1:ODEHelloRequest xmlns:ns1="http://sample.bpel.org/bpel/sample">
> <ns1:input>Hello BPEL World!</ns1:input>
> </ns1:ODEHelloRequest>
>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
>
>
>
--
Tammo van Lessen - http://www.taval.de
Re: Problem in BPEL Inovokation - Process is retired
Posted by ratha <ra...@wso2.com>.
Hi,
Uncomment the second <bpel:copy> statement and deploy...
-Ratha.
Pishava wrote:
> Hello,
> but when I test the BPEL by sending the following SOAP request :
>
> I am not sure whether the problem tha I have faced already discussed in the mailing list or not, since I couldn't find any hit though google.
>
>
> I have developed the following simple BPEL using BPEL designer and I deployed it successfully in Apache Tomcat + ODE 1.2. But when I send the a SOAP message to test the BPEL , I got the following error messge in Tomcat log file. I have been struggling with this error for couple of days but nu success yet! Any help. comment really appreciated.
>
> Error message:
>
> DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation: name=process
> style=REQUEST_RESPONSE,1
> Input: name=null
> Message: name={http://sample.bpel.org/bpel/sample}ODEHelloRequestMessage
> Part: name=payload
> elementName={http://sample.bpel.org/bpel/sample}ODEHelloRequest
> Output: name=null
> Message: name={http://sample.bpel.org/bpel/sample}ODEHelloResponseMessage
> Part: name=payload
> elementName={http://sample.bpel.org/bpel/sample}ODEHelloResponse from service {http://sample.bpel.org/bpel/sample}ODEHelloService
> DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX {MyRoleMex#hqejbhcnphr481c5um2d6m [Client hqejbhcnphr481c5um2d6l] calling {http://sample.bpel.org/bpel/sample}ODEHelloService.process(...)}
> DEBUG - GeronimoLog.debug(66) | Message content: <?xml version="1.0" encoding="UTF-8"?>
> <message><payload><ODEHelloRequest xmlns="http://sample.bpel.org/bpel/sample" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://sample.bpel.org/bpel/sample">
> <input>Hello BPEL World!</input>
> </ODEHelloRequest></payload></message>
> DEBUG - GeronimoLog.debug(66) | Routed: svcQname {http://sample.bpel.org/bpel/sample}ODEHelloService --> BpelProcess[{http://sample.bpel.org/bpel/sample}ODEHello-1]
> DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{http://sample.bpel.org/bpel/sample}ODEHello-1]
> DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX {MyRoleMex#hqejbhcnphr481c5um2d6m [Client hqejbhcnphr481c5um2d6l] calling {http://sample.bpel.org/bpel/sample}ODEHelloService.process(...)}
> DEBUG - GeronimoLog.debug(66) | Commiting transaction.
> DEBUG - GeronimoLog.debug(66) | >> handleWorkEvent(jobData={type=INVOKE_INTERNAL, mexid=hqejbhcnphr481c5um2d6m, pid={http://sample.bpel.org/bpel/sample}ODEHello-1})
> DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid hqejbhcnphr481c5um2d6m
> DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.myRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.myRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.partnerRoleSessionId = null
> DEBUG - GeronimoLog.debug(66) | INPUTMSG: 12.process: MSG RCVD keys=[] mySessionId=null partnerSessionId=null
> DEBUG - GeronimoLog.debug(66) | INPUTMSG: 12.process: routing failed, CREATING NEW INSTANCE
> ERROR - GeronimoLog.error(108) | Scheduled job failed; jobDetail={type=INVOKE_INTERNAL, mexid=hqejbhcnphr481c5um2d6m, pid={http://sample.bpel.org/bpel/sample}ODEHello-1}
> org.apache.ode.bpel.runtime.InvalidProcessException: Process is retired.
> at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:173)
> at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:204)
> at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:372)
> at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:326)
> at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:337)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:336)
> at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:174)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:335)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:332)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> at java.lang.Thread.run(Thread.java:595)
> ERROR - GeronimoLog.error(108) | Error while processing transaction, retrying.
> org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: org.apache.ode.bpel.runtime.InvalidProcessException: Process is retired.
> at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:336)
> at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:337)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:336)
> at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:174)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:335)
> at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:332)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> at java.lang.Thread.run(Thread.java:595)
>
> --------------------------------------------
> BPEL :
>
> <bpel:process name="ODEHello"
> targetNamespace="http://sample.bpel.org/bpel/sample"
> suppressJoinFailure="yes"
> xmlns:tns="http://sample.bpel.org/bpel/sample"
> xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
> >
>
> <!-- Import the client WSDL -->
> <bpel:import location="ODEHelloArtifacts.wsdl" namespace="http://sample.bpel.org/bpel/sample"
> importType="http://schemas.xmlsoap.org/wsdl/" />
>
> <!-- ================================================================= -->
> <!-- PARTNERLINKS -->
> <!-- List of services participating in this BPEL process -->
> <!-- ================================================================= -->
> <bpel:partnerLinks>
> <!-- The 'client' role represents the requester of this service. -->
> <bpel:partnerLink name="client"
> partnerLinkType="tns:ODEHello"
> myRole="ODEHelloProvider"
> />
> </bpel:partnerLinks>
>
> <!-- ================================================================= -->
> <!-- VARIABLES -->
> <!-- List of messages and XML documents used within this BPEL process -->
> <!-- ================================================================= -->
> <bpel:variables>
> <!-- Reference to the message passed as input during initiation -->
> <bpel:variable name="input"
> messageType="tns:ODEHelloRequestMessage"/>
>
> <!--
> Reference to the message that will be returned to the requester
> -->
> <bpel:variable name="output"
> messageType="tns:ODEHelloResponseMessage"/>
> </bpel:variables>
>
> <!-- ================================================================= -->
> <!-- ORCHESTRATION LOGIC -->
> <!-- Set of activities coordinating the flow of messages across the -->
> <!-- services integrated within this business process -->
> <!-- ================================================================= -->
> <bpel:sequence name="main">
>
> <!-- Receive input from requester.
> Note: This maps to operation defined in ODEHello.wsdl
> -->
> <bpel:receive name="receiveInput" partnerLink="client"
> portType="tns:ODEHelloPortType"
> operation="process" variable="input"
> createInstance="yes"/>
>
> <!-- Generate reply to synchronous request -->
> <bpel:assign validate="no" name="Assign">
> <bpel:copy>
> <bpel:from>
> <bpel:literal xml:space="preserve">
> <tns:ODEHelloResponse xmlns:tns="http://sample.bpel.org/bpel/sample" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <tns:result>EmptyOutput</tns:result>
> </tns:ODEHelloResponse>
> </bpel:literal>
> </bpel:from>
> <bpel:to variable="output" part="payload"></bpel:to>
> </bpel:copy>
> <!-- <bpel:copy>
> <bpel:from part="payload" variable="input">
> <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:input]]></bpel:query>
> </bpel:from>
> <bpel:to part="payload" variable="output">
> <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:result]]></bpel:query>
> </bpel:to>
> </bpel:copy>
> -->
> </bpel:assign>
> <bpel:reply name="replyOutput"
> partnerLink="client"
> portType="tns:ODEHelloPortType"
> operation="process"
> variable="output"
> />
> </bpel:sequence>
> </bpel:process>
>
> ---------------------------------------------
> Test SOAP messge:
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
> <!-- test soap message -->
> <SOAP-ENV:Body>
>
> <ns1:ODEHelloRequest xmlns:ns1="http://sample.bpel.org/bpel/sample">
> <ns1:input>Hello BPEL World!</ns1:input>
> </ns1:ODEHelloRequest>
>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
>
>
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.238 / Virus Database: 270.12.4/2078 - Release Date: 04/24/09 07:54:00
>
>