How to deploy two versions of the same bundle | Community
Skip to main content
paulm54716093
Level 2
January 26, 2018
Solved

How to deploy two versions of the same bundle

  • January 26, 2018
  • 2 replies
  • 1965 views

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.
Best answer by kautuk_sahni

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.

2 replies

joerghoh
Adobe Employee
Adobe Employee
January 28, 2018

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.

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
January 29, 2018

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