Issue 68 in peaberry: Add Timeout, BundleException, and logging for activation failure

3 views
Skip to first unread message

peab...@googlecode.com

unread,
Oct 24, 2011, 12:36:26 PM10/24/11
to guice...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 68 by rocketra...@gmail.com: Add Timeout, BundleException, and
logging for activation failure
http://code.google.com/p/peaberry/issues/detail?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.

peab...@googlecode.com

unread,
Oct 24, 2011, 2:39:56 PM10/24/11
to guice...@googlegroups.com

Comment #1 on issue 68 by Rins...@gmail.com: Add Timeout, BundleException,

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.

peab...@googlecode.com

unread,
Oct 27, 2011, 9:08:51 PM10/27/11
to guice...@googlegroups.com

Comment #2 on issue 68 by mccu...@gmail.com: Add Timeout, BundleException,

Issue 67 has been merged into this issue.

peab...@googlecode.com

unread,
Aug 4, 2012, 5:36:39 PM8/4/12
to guice...@googlegroups.com
Updates:
Labels: Peaberry-Extension

Comment #3 on issue 68 by mccu...@gmail.com: Add Timeout, BundleException,
and logging for activation failure
http://code.google.com/p/peaberry/issues/detail?id=68

(No comment was entered for this change.)

peab...@googlecode.com

unread,
Jun 21, 2015, 9:48:43 PM6/21/15
to guice...@googlegroups.com
Updates:
Status: Duplicate

Comment #4 on issue 68 by mccu...@gmail.com: Add Timeout, BundleException,
and logging for activation failure
https://code.google.com/p/peaberry/issues/detail?id=68

Moved to https://github.com/ops4j/peaberry/issues/71

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages