Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

OSGi bundles contained in content package under /apps/appname/install never gets installed

Avatar

Level 2

We have a jar which is embedded in the package at jcr_root\apps\appname\install. When we install the package, the bundle is not getting updated. Even If I stop/ start, update, refresh package doesn't help.
If I install/ update the bundle, I can see my changes.

So every time I make some java changes, I need to restart my AEM instance for my changes to be in effect.

Tried out the steps as suggested in the below post (This issue is due to the criteria that is used by the Apache Sling jcrinstall module when deciding whether or not upgrade a bundle) but no luck.

https://helpx.adobe.com/experience-manager/kb/CQ5DevBundleFailsToInstall.html

Thanks in Advance!

Anuj Varshney

7 Replies

Avatar

Employee

Hi,

what version of AEM is this and how are you building your package, did you use a standard maven artefact?

Regards,

Opkar

https://docs.adobe.com/docs/en/aem/6-2/develop/dev-tools/ht-projects-maven.html

Avatar

Level 2

AEM 6.0. - SP3

Yes, we are using standard maven artifact.

Thanks

Anuj

Avatar

Employee

Hi,

and what messages do you get in the error.log file when you deploy your package?

Regards,

Opkar

Avatar

Level 2

Not seeing any error... Looks like its not trying to re-install the bundle. 

-Anuj

Avatar

Employee

Hi Anuj,

when was the last time this project deployed correctly? Can you use your source control, to revert any changes made after the last good "project". If you create a new AEM project based on the Adobe maven archetypes, does this deploy and the bundles start correctly in your instance?

Regards,

Opkar

Avatar

Employee Advisor

Hi,

please clear any node below /system/sling/installer/jcr/pauseInstallation. And as second step please raise a ticket with Daycare support and ask for a hotfix (there is one, just don't remember the number).

Jörg

Avatar

Level 3

Jörg Hoh wrote...

Hi,

please clear any node below /system/sling/installer/jcr/pauseInstallation. And as second step please raise a ticket with Daycare support and ask for a hotfix (there is one, just don't remember the number).

Jörg

 

We were given this hotfix (CQ-6.1.0-HOTFIX-9336) back in Feb by daycare for the pauseinstallation node clearing issue.