Why doesn't an OSGi Bundle start even when all the Dependencies are resolved? | Community
Skip to main content
khamat_bn
Level 4
Oct 11, 2019 9:50 PM UTC
Solved

Why doesn't an OSGi Bundle start even when all the Dependencies are resolved?

I have installed bundle, all the dependencies got resolved also but it didnt go to Active State. Why?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Oct 13, 2019 3:36 PM UTC

The prerequisite of OSGI components being started is that the bundle is active. But not the other way around (a bundle might be active and none of its containing components is started).

6 replies

joerghoh
joerghohAccepted solution
Employee
Oct 13, 2019 3:36 PM UTC

The prerequisite of OSGI components being started is that the bundle is active. But not the other way around (a bundle might be active and none of its containing components is started).

Translate
rampai
Level 1
Oct 13, 2019 2:54 PM UTC

Probably an OSGi component that you have in your bundle is in unsatisfied state.

Translate
joerghoh
Employee
Oct 13, 2019 10:25 AM UTC

If all dependencies of a bundle are resolved, but it does not go into active state, then there I see 2 possibilities:

* This bundle has a bundle activator configured, which throws an exception.

* You use the Bundle Disabler of ACS AEM Commons, which disables this bundle as soon it gets activated.

Translate
Ankur_Khare
New Participant
Oct 12, 2019 2:48 AM UTC

Could u pls post error.log when u upload the jar file to system console

Translate
Employee
Oct 11, 2019 10:54 PM UTC

Check package dependencies to make sure there is nothing missing:

http://localhost:4565/system/console/depfinder

Translate
Employee
Oct 11, 2019 10:44 PM UTC

There could be any number of reasons why this is happening. Could you post the fragment of the error log showing what happens when you manually try to start the bundle?

Translate