You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Sahoo (JIRA)" <ji...@apache.org> on 2009/06/12 19:52:07 UTC

[jira] Created: (FELIX-1237) STOPPING & STOPPED events not fired when activator throws exception

STOPPING & STOPPED events not fired when activator throws exception
-------------------------------------------------------------------

                 Key: FELIX-1237
                 URL: https://issues.apache.org/jira/browse/FELIX-1237
             Project: Felix
          Issue Type: Bug
         Environment: generic
            Reporter: Sahoo


As per the spec,
If the start(BundleContext) method throws an exception, the Framework must mark the bundle as stopped and send out STOPPING and STOPPED events but it must not call the Bundle Activator stop(BundleContext) method.

Looking at the implementation in  "void startBundle(BundleImpl bundle, boolean record)"  in Felix.java, I don't see framework firing any events when activator throws an exception.

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


[jira] Updated: (FELIX-1237) STOPPING & STOPPED events not fired when activator throws exception

Posted by "Sahoo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sahoo updated FELIX-1237:
-------------------------

          Component/s: Framework
        Fix Version/s: felix-1.8.1
    Affects Version/s: felix-1.8.0

> STOPPING & STOPPED events not fired when activator throws exception
> -------------------------------------------------------------------
>
>                 Key: FELIX-1237
>                 URL: https://issues.apache.org/jira/browse/FELIX-1237
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-1.8.0
>         Environment: generic
>            Reporter: Sahoo
>             Fix For: felix-1.8.1
>
>
> As per the spec,
> If the start(BundleContext) method throws an exception, the Framework must mark the bundle as stopped and send out STOPPING and STOPPED events but it must not call the Bundle Activator stop(BundleContext) method.
> Looking at the implementation in  "void startBundle(BundleImpl bundle, boolean record)"  in Felix.java, I don't see framework firing any events when activator throws an exception.

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


[jira] Resolved: (FELIX-1237) STOPPING & STOPPED events not fired when activator throws exception

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall resolved FELIX-1237.
------------------------------------

    Resolution: Fixed
      Assignee: Richard S. Hall

Committed fix. Please close if satisfied.

> STOPPING & STOPPED events not fired when activator throws exception
> -------------------------------------------------------------------
>
>                 Key: FELIX-1237
>                 URL: https://issues.apache.org/jira/browse/FELIX-1237
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework, Specification compliance
>    Affects Versions: felix-1.8.0
>         Environment: generic
>            Reporter: Sahoo
>            Assignee: Richard S. Hall
>             Fix For: felix-1.8.1
>
>
> As per the spec,
> If the start(BundleContext) method throws an exception, the Framework must mark the bundle as stopped and send out STOPPING and STOPPED events but it must not call the Bundle Activator stop(BundleContext) method.
> Looking at the implementation in  "void startBundle(BundleImpl bundle, boolean record)"  in Felix.java, I don't see framework firing any events when activator throws an exception.

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


[jira] Closed: (FELIX-1237) STOPPING & STOPPED events not fired when activator throws exception

Posted by "Sahoo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sahoo closed FELIX-1237.
------------------------


> STOPPING & STOPPED events not fired when activator throws exception
> -------------------------------------------------------------------
>
>                 Key: FELIX-1237
>                 URL: https://issues.apache.org/jira/browse/FELIX-1237
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework, Specification compliance
>    Affects Versions: felix-1.8.0
>         Environment: generic
>            Reporter: Sahoo
>            Assignee: Richard S. Hall
>             Fix For: felix-1.8.1
>
>
> As per the spec,
> If the start(BundleContext) method throws an exception, the Framework must mark the bundle as stopped and send out STOPPING and STOPPED events but it must not call the Bundle Activator stop(BundleContext) method.
> Looking at the implementation in  "void startBundle(BundleImpl bundle, boolean record)"  in Felix.java, I don't see framework firing any events when activator throws an exception.

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


[jira] Updated: (FELIX-1237) STOPPING & STOPPED events not fired when activator throws exception

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall updated FELIX-1237:
-----------------------------------

    Component/s: Specification compliance

> STOPPING & STOPPED events not fired when activator throws exception
> -------------------------------------------------------------------
>
>                 Key: FELIX-1237
>                 URL: https://issues.apache.org/jira/browse/FELIX-1237
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework, Specification compliance
>    Affects Versions: felix-1.8.0
>         Environment: generic
>            Reporter: Sahoo
>            Assignee: Richard S. Hall
>             Fix For: felix-1.8.1
>
>
> As per the spec,
> If the start(BundleContext) method throws an exception, the Framework must mark the bundle as stopped and send out STOPPING and STOPPED events but it must not call the Bundle Activator stop(BundleContext) method.
> Looking at the implementation in  "void startBundle(BundleImpl bundle, boolean record)"  in Felix.java, I don't see framework firing any events when activator throws an exception.

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