Skip to content

Add Timeout, BundleException, and logging for activation failure #71

@mcculls

Description

@mcculls

Originally reported on Google Code with ID 68

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions