Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow re-run stops working after some time #3

Open
manikandanrs opened this issue Aug 3, 2016 · 2 comments
Open

Workflow re-run stops working after some time #3

manikandanrs opened this issue Aug 3, 2016 · 2 comments
Assignees

Comments

@manikandanrs
Copy link
Contributor

From @jharajeev on January 18, 2016 7:6

I just started working on aws swf and have developed a simple workflow using AWS flow framework for JAVA. After I register the workflow, when I try to re-run it, it works fine for some time no matter how many times I try that. But after some time, say few hours, re-run stops working. I checked the history and can see that execution is stuck at DecisionTaskScheduled event and so eventually times out. It seems that activity and workflow workers have stopped running as I can see "No Activities found for the given execution" message in Activities tab of the execution history. It starts working again if I run the workflow and activity host manually.

Am I doing something wrong? For my use case, I need workflow and activity workers to run continuously so that I can trigger the workflow whenever I need from my web application.

4

1
2
3

Copied from original issue: aws/aws-sdk-java#607

@manikandanrs
Copy link
Contributor Author

Are you creating the workflows through console ?

@manikandanrs
Copy link
Contributor Author

From @jharajeev on January 20, 2016 19:21

No, I am using java flow framework to create the workflow. To re-run it, I am using console.

For your reference, I am trying with this sample workflow (http://docs.aws.amazon.com/amazonswf/latest/awsflowguide/getting-started-example-helloworldworkflow.html). I run both GreeterWorker and GreeterMain to start the workers and the workflow. It works fine but as I mentioned, worker service gets stopped after some time due to some reason and so re-run also stops working. If I execute GreeterWorker again, re-run again starts working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant