You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Sathwik Bantwal Premakumar (JIRA)" <ji...@apache.org> on 2016/04/28 19:32:13 UTC

[jira] [Commented] (ODE-1057) Wait timer longer than 30 seconds causes process to wait indefinitely

    [ https://issues.apache.org/jira/browse/ODE-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15262585#comment-15262585 ] 

Sathwik Bantwal Premakumar commented on ODE-1057:
-------------------------------------------------

Tom,
Instance creating IMA (receive or pick onMessage) should be the first activity in the process definition. It's invalid to define any activity even before the instance creating receive or pick activity. This is an invalid bpel process and hence will mark this jira as invalid.

If you have doubts in the implementation would suggest to discuss it on the forum. I would be able to explain it on the forum than in the JIRA,


> Wait timer longer than 30 seconds causes process to wait indefinitely
> ---------------------------------------------------------------------
>
>                 Key: ODE-1057
>                 URL: https://issues.apache.org/jira/browse/ODE-1057
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.3.5
>            Reporter: Tom Cunningham
>
> PROBLEM : 
> In SimpleScheduler.java (https://github.com/apache/ode/blob/master/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SimpleScheduler.java#L154), processes that are scheduled for > 30s are inserted (https://github.com/apache/ode/blob/master/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SimpleScheduler.java#L398) but not tracked in the todo.    It seems like these nearfuture jobs are never again picked up.   If I wait for 29s, no issue.
> TO REPRODUCE :
> Add the following to the HelloWorld2 bpel example
>    <sequence>
> + <wait>
> + <for><![CDATA['PT41S']]></for>
> + </wait>
>        <receive
>           name="start"
>           partnerLink="helloPartnerLink"
>           portType="test:HelloPortType"
>           operation="hello"
>           variable="myVar"
>           createInstance="yes"/>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)