felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-947) Behaviour of startlevel comman doesn't adhere to spec
Date Wed, 18 Feb 2009 16:35:01 GMT

     [ https://issues.apache.org/jira/browse/FELIX-947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Richard S. Hall resolved FELIX-947.

       Resolution: Fixed
    Fix Version/s: felix-1.6.0

I applied the patch. Thanks for reporting it. Please close this issue if you are satisfied
with the result.

> Behaviour of startlevel comman doesn't adhere to spec
> -----------------------------------------------------
>                 Key: FELIX-947
>                 URL: https://issues.apache.org/jira/browse/FELIX-947
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-1.4.1
>            Reporter: Martin Cornelius
>            Assignee: Richard S. Hall
>             Fix For: felix-1.6.0
>         Attachments: Felix.java.patch
> I have a bundle installed, that has set it's bundlelevel to 2, and always throws an execption
in the BundleActivator.start() method.
> If i am in startlevel 1, and issue the shell-command 'startlevel 2', the framework tries
to start the bundle and logs an ERROR, as expected.
> However, if i now (being already in startlevel 2) repeat the command  'startlevel 2',
the framework again tries to start the bundle and repeatedly logs an ERROR. 
> This behaviour violates the core-spec, which states in ยง8.2.2 : 
> If the requested start level is the active start level, the Framework will not start
or stop any bundles.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message