Bundle is stopping | Community
Skip to main content
puscasd22398856
March 4, 2022
Solved

Bundle is stopping

  • March 4, 2022
  • 3 replies
  • 1120 views

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?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by milind_bachani

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

3 replies

Kiran_Vedantam
Community Advisor
Community Advisor
March 4, 2022

Hi @puscasd22398856 

 

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.

milind_bachani
Adobe Employee
milind_bachaniAdobe EmployeeAccepted solution
Adobe Employee
March 6, 2022

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

Vijayalakshmi_S
March 7, 2022

Hi @puscasd22398856 

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.