You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2012/11/24 21:22:58 UTC

[jira] [Created] (KARAF-2032) Some Cellar bundles doesn't start after a Karaf restart

Jean-Baptiste Onofré created KARAF-2032:
-------------------------------------------

             Summary: Some Cellar bundles doesn't start after a Karaf restart
                 Key: KARAF-2032
                 URL: https://issues.apache.org/jira/browse/KARAF-2032
             Project: Karaf
          Issue Type: Bug
          Components: cellar-core
    Affects Versions: cellar-2.2.4, cellar-2.2.5
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: cellar-3.0.0, cellar-2.2.5, cellar-2.3.0


At the first installation, all Cellar bundles start without problem.

But, if you restart the Karaf container, some Cellar bundles stay in "resolved" instead to go in "started".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-2032) Some Cellar bundles doesn't start after a Karaf restart

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-2032:
----------------------------------------

    Fix Version/s:     (was: cellar-2.2.5)
                   cellar-2.2.6
    
> Some Cellar bundles doesn't start after a Karaf restart
> -------------------------------------------------------
>
>                 Key: KARAF-2032
>                 URL: https://issues.apache.org/jira/browse/KARAF-2032
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-core
>    Affects Versions: cellar-2.2.4, cellar-2.2.5
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.3.0, cellar-2.2.6
>
>
> At the first installation, all Cellar bundles start without problem.
> But, if you restart the Karaf container, some Cellar bundles stay in "resolved" instead to go in "started".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-2032) Some Cellar bundles doesn't start after a Karaf restart

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503467#comment-13503467 ] 

Jean-Baptiste Onofré commented on KARAF-2032:
---------------------------------------------

For testing purpose, I removed the cellar-bundle bundle which contain the LocalBundleListener which broadcast "local" events to the cluster.

Now cellar-shell and cellar-utils are started correctly after several Karaf restart.

The problem is that the LocalBundleListener doesn't check the status of the bundle.sync property. So, it means that, even disabled, the bundle listener is listening for local event.

I try to add a test in the LocalBundleListener (as it's done in the Synchronizer): for each local group, I check if the bundle.sync is enable or not.
                
> Some Cellar bundles doesn't start after a Karaf restart
> -------------------------------------------------------
>
>                 Key: KARAF-2032
>                 URL: https://issues.apache.org/jira/browse/KARAF-2032
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-core
>    Affects Versions: cellar-2.2.4, cellar-2.2.5
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.2.5, cellar-2.3.0
>
>
> At the first installation, all Cellar bundles start without problem.
> But, if you restart the Karaf container, some Cellar bundles stay in "resolved" instead to go in "started".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-2032) Some Cellar bundles doesn't start after a Karaf restart

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-2032:
----------------------------------------

    Affects Version/s:     (was: cellar-2.2.5)
        Fix Version/s:     (was: cellar-2.2.6)
                       cellar-2.2.5
    
> Some Cellar bundles doesn't start after a Karaf restart
> -------------------------------------------------------
>
>                 Key: KARAF-2032
>                 URL: https://issues.apache.org/jira/browse/KARAF-2032
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-core
>    Affects Versions: cellar-2.2.4
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.2.5, cellar-2.3.0
>
>
> At the first installation, all Cellar bundles start without problem.
> But, if you restart the Karaf container, some Cellar bundles stay in "resolved" instead to go in "started".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-2032) Some Cellar bundles doesn't start after a Karaf restart

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503426#comment-13503426 ] 

Achim Nierbeck commented on KARAF-2032:
---------------------------------------

I observed the following behavior. 

2 Nodes where Connected, one of the Nodes was shut-down (presumably the master-node but unsure)
the second, surviving, node stopped the Bunldes in question: 

{code}
[  83] [Active     ] [Created     ] [   40] Apache Karaf :: Cellar :: Config (2.2.5)
[  84] [Active     ] [Created     ] [   40] Apache Karaf :: Cellar :: Features (2.2.5)
[  85] [Active     ] [Created     ] [   40] Apache Karaf :: Cellar :: Bundle (2.2.5)
[  86] [Active     ] [Created     ] [   40] Apache Karaf :: Cellar :: DOSGi (2.2.5)
[  87] [Resolved   ] [            ] [   40] Apache Karaf :: Cellar :: Utils (2.2.5)
[  88] [Resolved   ] [            ] [   40] Apache Karaf :: Cellar :: Shell (2.2.5)
[  89] [Resolved   ] [            ] [   40] Apache Karaf :: Cellar :: Management (2.2.5)
[  90] [Resolved   ] [            ] [   80] Apache Karaf :: Cellar :: Webconsole (2.2.5)
{code}

After the first Node was started again, the bundle utils is started again but the other three remain in _RESOLVED_ state. 
Same thing on the first Node the Utils Bundle is now also started, but the others are in _INSTALLED_ state. 

A cluster:bundle-list did also show those bundles, which are now marked resolved, before stopping the first node. 

To my understanding those bundles are "connected" though they shouldn't be because of blacklisting. 
                
> Some Cellar bundles doesn't start after a Karaf restart
> -------------------------------------------------------
>
>                 Key: KARAF-2032
>                 URL: https://issues.apache.org/jira/browse/KARAF-2032
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-core
>    Affects Versions: cellar-2.2.4, cellar-2.2.5
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.2.5, cellar-2.3.0
>
>
> At the first installation, all Cellar bundles start without problem.
> But, if you restart the Karaf container, some Cellar bundles stay in "resolved" instead to go in "started".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (KARAF-2032) Some Cellar bundles doesn't start after a Karaf restart

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-2032.
-----------------------------------------

    Resolution: Fixed
    
> Some Cellar bundles doesn't start after a Karaf restart
> -------------------------------------------------------
>
>                 Key: KARAF-2032
>                 URL: https://issues.apache.org/jira/browse/KARAF-2032
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-core
>    Affects Versions: cellar-2.2.4
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.2.5, cellar-2.3.0
>
>
> At the first installation, all Cellar bundles start without problem.
> But, if you restart the Karaf container, some Cellar bundles stay in "resolved" instead to go in "started".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-2032) Some Cellar bundles doesn't start after a Karaf restart

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503718#comment-13503718 ] 

Jean-Baptiste Onofré commented on KARAF-2032:
---------------------------------------------

For this issue, I add the Cellar bundles in the blacklist. The more "general" case will be cover by the fix for KARAF-2033.
                
> Some Cellar bundles doesn't start after a Karaf restart
> -------------------------------------------------------
>
>                 Key: KARAF-2032
>                 URL: https://issues.apache.org/jira/browse/KARAF-2032
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-core
>    Affects Versions: cellar-2.2.4
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.2.5, cellar-2.3.0
>
>
> At the first installation, all Cellar bundles start without problem.
> But, if you restart the Karaf container, some Cellar bundles stay in "resolved" instead to go in "started".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-2032) Some Cellar bundles doesn't start after a Karaf restart

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503722#comment-13503722 ] 

Jean-Baptiste Onofré commented on KARAF-2032:
---------------------------------------------

Fixed on Cellar trunk: http://svn.apache.org/viewvc?view=revision&revision=1413548
                
> Some Cellar bundles doesn't start after a Karaf restart
> -------------------------------------------------------
>
>                 Key: KARAF-2032
>                 URL: https://issues.apache.org/jira/browse/KARAF-2032
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-core
>    Affects Versions: cellar-2.2.4
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.2.5, cellar-2.3.0
>
>
> At the first installation, all Cellar bundles start without problem.
> But, if you restart the Karaf container, some Cellar bundles stay in "resolved" instead to go in "started".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-2032) Some Cellar bundles doesn't start after a Karaf restart

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503719#comment-13503719 ] 

Jean-Baptiste Onofré commented on KARAF-2032:
---------------------------------------------

Fixed on cellar-2.2.x: http://svn.apache.org/viewvc?view=revision&revision=1413546
                
> Some Cellar bundles doesn't start after a Karaf restart
> -------------------------------------------------------
>
>                 Key: KARAF-2032
>                 URL: https://issues.apache.org/jira/browse/KARAF-2032
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-core
>    Affects Versions: cellar-2.2.4
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.2.5, cellar-2.3.0
>
>
> At the first installation, all Cellar bundles start without problem.
> But, if you restart the Karaf container, some Cellar bundles stay in "resolved" instead to go in "started".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-2032) Some Cellar bundles doesn't start after a Karaf restart

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503720#comment-13503720 ] 

Jean-Baptiste Onofré commented on KARAF-2032:
---------------------------------------------

Fixed on cellar-2.3.x: http://svn.apache.org/viewvc?view=revision&revision=1413547
                
> Some Cellar bundles doesn't start after a Karaf restart
> -------------------------------------------------------
>
>                 Key: KARAF-2032
>                 URL: https://issues.apache.org/jira/browse/KARAF-2032
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-core
>    Affects Versions: cellar-2.2.4
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.2.5, cellar-2.3.0
>
>
> At the first installation, all Cellar bundles start without problem.
> But, if you restart the Karaf container, some Cellar bundles stay in "resolved" instead to go in "started".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira