How to deploy two versions of the same bundle | Community
Skip to main content
paulm54716093
Level 2
Jan 26, 2018 9:28 PM UTC
Solved

How to deploy two versions of the same bundle

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Employee
Jan 29, 2018 8:23 AM UTC

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

2 replies

kautuk_sahni
kautuk_sahniAccepted solution
Employee
Jan 29, 2018 8:23 AM UTC

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.

Translate
Kautuk Sahni
joerghoh
Employee
Jan 28, 2018 7:45 PM UTC

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.

Translate