Hi guys
I have an issue linked to OSGI bundles, an is like this:
I have two bundles, A and B.Bundle A is dependency to bundle B ( B ----> A ).
When deploy bundle A on instance, bundle B gets into Installed status and it stays there, it does not get active only if I set it manually.
While the B bundle is in Installed status, all the dependencies are resolved (nothing red there).
What do you think is the problem might be?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @puscasd22398856 ,
This might be an intermittent issue where you dependent bundle is not marked as active, even when all dependencies are resolved.
Once you install Bundle A make sure its active and try manually activating Bundle B for first time. Once activated the next time you reinstall/update the bundle it would move automatically to active state with correct version. You can monitor logs closely during the activity to further dig in the issue.
Thanks,
Milind
How are these 2 bundles added as dependants? Make sure you are installing bundle A first then once it is active install bundle B. Also, check the version of bundle A mentioned in bundle B and make sure your local has the same instance.
If still the issue persists check the logs for the error message.
Thanks,
Kiran Vedantam.
Hi @puscasd22398856 ,
This might be an intermittent issue where you dependent bundle is not marked as active, even when all dependencies are resolved.
Once you install Bundle A make sure its active and try manually activating Bundle B for first time. Once activated the next time you reinstall/update the bundle it would move automatically to active state with correct version. You can monitor logs closely during the activity to further dig in the issue.
Thanks,
Milind
I suggest to check the log files logged from OSGIInstallerImpl when this happens.
Also, could you please let know how the bundles are deployed to the instance. Is the dependency part of the same code package deployment or standalone.