Développer ma barre des réalisations de la Communauté.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Cette conversation a été verrouillée en raison de son inactivité. Veuillez créer une nouvelle publication.

RÉSOLU

Location of OSGI bundle in AEM

Avatar

Level 3

I created an OSGI bundle which I installed in AEM using system/console. I'm now creating a package to be installed in the testing and production environments. As a security precaution I can't install OSGI bundles in this environments. How can I create a package that can install an OSGI package without accessing system console? My idea was to add the location of the OSGI bundle in AEM to a package and install that but I can't find the location of the bundle. Any ideas?

1 solution acceptée

Avatar

Réponse correcte par
Employee Advisor

Hi,

When you install a bundle directly via webconsole, it is not stored in the repository. You should package your bundle into a content-package and then install the content-package, then the bundle will be stored in the repository. That is the recommended approach and the maven archetypes create such a build structure.

Jörg

Voir la solution dans l'envoi d'origine

2 Replies

Avatar

Administrator

If you have bundle in the JCR then you can export it otherwise you can not.

How did you first install this OSGI bundle to the AEM instance which have it? Was it via Package? If so, then check the /apps/<appname>/install/ folder, the bundle might be there. Otherwise you can not.

-Kautuk



Kautuk Sahni

Avatar

Réponse correcte par
Employee Advisor

Hi,

When you install a bundle directly via webconsole, it is not stored in the repository. You should package your bundle into a content-package and then install the content-package, then the bundle will be stored in the repository. That is the recommended approach and the maven archetypes create such a build structure.

Jörg