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

OSGI class library version status checker?

Avatar

Level 2

I have three separate AEM projects repositories, and two of those projects exports common different version classes to the OSGI runtime environment. Where can I check OSGI container already-installed classes and versions? Each of my AEM projects exports the same class library, but different versions.

please and thank you.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

in /system/console/bundles you see all bundles, and when you click on any bundle, it will also display the exported packages including the version number.

View solution in original post

4 Replies

Avatar

Correct answer by
Employee Advisor

in /system/console/bundles you see all bundles, and when you click on any bundle, it will also display the exported packages including the version number.

Avatar

Level 2
Thank you, but is there a way for me to see all the version available in the OSGI container, for example this class? org.apache.commons.lang3. Going through each bundle can be take too much effort, no?

Avatar

Employee Advisor
You want to store all exported versions of all bundles? I don't think that there is a tool at hand which displays these all at once. It shouldn't be too hard to write a servlet which does this.

Avatar

Level 2
Thank you, I guess reviewing each bundle's export configuration is the only way. I will take a look at the servlet approach. And No, I do not want to store all exported versions of all bundles where I want to view all the exported classes and each of their versions in a nice visual way.