You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Abhayjit Kharbanda (Jira)" <ji...@apache.org> on 2021/06/16 10:56:00 UTC
[jira] [Created] (KARAF-7178) Bundle install in shell.init.script
is invoked before featuresBoot cellar is activated
Abhayjit Kharbanda created KARAF-7178:
-----------------------------------------
Summary: 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
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)