-
Notifications
You must be signed in to change notification settings - Fork 28
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
Deadlock using ConfigAdmin? #114
Comments
Hi,
|
So the issue is in
But in this case, the managed service updates a property of a registered service, which means iPOPO will have to send events to notify listeners (from the thread start by ConfigAdmin). The quick fix is to stop configadmin from waiting, but that could remove the ordering of update notifications in some cases. |
I've made an |
The branch |
OK thanks for the feedback. |
I just realized this issue does still exist (deadlock in updated() method). Somehow occuring very rarely when accessing config-admin in the component validate function and setting the self._name property. Yes I am using the isse_114 branch. I think there is some race condition still existing. BR |
OK, I'll take a look into it this week |
Hi,
I have implemented a custom ConfigAdminPersistence which uses a database.
When i use this, the application gets stuck in updated:
I am wondering if anyone has an idea what is going wrong here. Somehow just changing the value of a Property will produce a deadlock. I don't see how the custom ConfigAdminPersistence could be involved here.
Nevertheless below the ConfigAdminPersistence:
Thank you!
The text was updated successfully, but these errors were encountered: