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 2021/06/18 13:29:00 UTC

[jira] [Assigned] (KARAF-7178) Bundle install in shell.init.script is invoked before featuresBoot cellar is activated

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

Jean-Baptiste Onofré reassigned KARAF-7178:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> Bundle install in shell.init.script is invoked before featuresBoot cellar is activated
> --------------------------------------------------------------------------------------
>
>                 Key: KARAF-7178
>                 URL: https://issues.apache.org/jira/browse/KARAF-7178
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar
>    Affects Versions: cellar-4.2.1
>            Reporter: Abhayjit Kharbanda
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> Hi,
> I have a bundle in which I try to retrieve the reference to CellarBundleMBean.class . I have cellar,cellar-bundle  as part of my featuresBoot and the cluster:bundle-install command for this bundle as part of shell.init.script because I wanted to automate the install of this on karaf installation in a docker image . Also , i have set karaf.delay.console=true 
> However , while the bundle is the activated , this CellarBundleMBean.class service isnt registered yet .
> From the logs , i can see that "CELLAR BUNDLE: register MBean" occurs quite a while after the attempt to install the bundle is made . 
> I was expecting the bundle installation to only happen after cellar-bundle activation is complete since its part of featuresBoot and bundle install is in init script with karaf.delay.console also set to true
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)