You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a bundle module is activated via the Peaberry activation framework, but references
a configurable that is not available via config-admin, then the bundle fails to activate.
However, the bundle state switches to STARTED, and there is no indication to the user
that the activation failed, and no reason for the failure given.
As per the discussion here:
https://groups.google.com/d/topic/guice-osgi/kNStOJ0ZGxg/discussion
it would be great to have the bundle activation:
1) Timeout if dependencies / configuration values are not available during activation.
2) Log the dependency / configuration that is not available, probably at WARN level.
3) Throw a BundleException with the failure information.
Reported by rocketraman on 2011-10-24 16:31:53
The text was updated successfully, but these errors were encountered:
Another idea would be to add default values for every configurable. And log something
like "Configuration X not available: using default Y for setting Z". When the configuration
comes along the new values will be injected in place of the defaults.
Originally reported on Google Code with ID 68
Reported by
rocketraman
on 2011-10-24 16:31:53The text was updated successfully, but these errors were encountered: