-
Notifications
You must be signed in to change notification settings - Fork 55
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
consumer can not invoke the producer function after terminating the provider process and restart again #34
Comments
hard to analyse without any details (logs, code, ...). Please share more details (logs, programming language used, some code) for further inspection. |
sorry for not clear clarification, and the provider application's language I use is nodejs,
if anything more you want to check, please feel free to ask me. |
you wrote above "without unregister it", but in your code you call can you please attach logs of the whole scenario (first startup of provider, stopping it, restarting provider) of all processes (provider app, consumer app, cluster-controller)? |
actually I use kill -9 to terminate it , so the code unregisterProvider was not called |
the scenario is
|
meanwhile I try another scenario: |
Hi manuel-schiller, |
hi @feifrank, for the scenario to work you need to make sure persistency is activated and that clearPersistency is not set to true. A JSON.stringify of provisioning.persistency should tell you more...the javascript tutorial also mention this detail: https://github.com/bmwcarit/joynr/blob/master/wiki/JavaScriptTutorial.md |
Hi @donsciarra and @manuel-schiller |
is this still relevant? |
Hi Joynr guys,
I success to make the joynr consumer invoke the provider method every time I totally restart the whole environment(including joynr infra, consumer application, provider application& cluster controller). but after that, when I terminate the provider application without unregister it. and then restart provider application, my consumer application could not invoke the provider method successfully, even I try to restart the cluster controller located with the provider application. I would like to ask that is it a acceptable way to restart the provider application? or is there a official or workable way to restart the provider application?
Thanks.
The text was updated successfully, but these errors were encountered: