Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Bundle is stopping

Avatar

Level 2

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?

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

View solution in original post

3 Replies

Avatar

Community Advisor

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.

Avatar

Correct answer by
Employee Advisor

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

Avatar

Community Advisor

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.