Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

How to deploy two versions of the same bundle

Avatar

Level 2

From what I can tell, OSGi should support the ability to run two versions of the same bundle. But I'm not able to do it either through the Felix console or through package deployment.

Does anyone have experience doing this?

1 Accepted Solution

Avatar

Correct answer by
Administrator

Check this poat:- Install different versions of the same custom bundle.

// Reply from Justin:

It is most definitely possible to have multiple bundles with the same symbolic name and different versions. You just have to interact with OSGi APIs directly rather than using the OSGi Web Console or the JCR Installer. But the OSGi framework absolutely supports this.



Kautuk Sahni

View solution in original post

2 Replies

Avatar

Employee Advisor

Technically it is possible in OSGI (according to the spec). I don't know if this is implemented in Felix.

And even if it would be implemented, I don't believe that AEM can make use of it.

Avatar

Correct answer by
Administrator

Check this poat:- Install different versions of the same custom bundle.

// Reply from Justin:

It is most definitely possible to have multiple bundles with the same symbolic name and different versions. You just have to interact with OSGi APIs directly rather than using the OSGi Web Console or the JCR Installer. But the OSGi framework absolutely supports this.



Kautuk Sahni