Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

on 6.1 after reboot installed bundles will not start

Avatar

Level 2

When installing a bundle on 6.1, it all works fine, after a shutdown of the server and a reboot the newly installed bundles are not started, looking in the bundle all looks fine. When looking in the log it says it is failing on the dependecy that is not there, but after looking it up in the package manager, it is there. 

Removing the bundles and installing the package again, solves the problem.

2 Replies

Avatar

Employee

Hi Bert,

is the failing dependency on startup a custom class/bundle or an OOTB dependency?

Regards,

Opkar

Avatar

Level 2

In this example it is the acs commons package 

org.osgi.framework.BundleException: Unresolved constraint in bundle com.adobe.acs.acs-aem-commons-bundle [481]: Unable to resolve 481.0: missing requirement [481.0] osgi.wiring.package; (&(osgi.wiring.package=org.scribe.builder.api)(version>=1.3.0)(!(version>=2.0.0)))

When I look it up on packages, it returns :

<dependency>
<groupId>com.adobe.granite</groupId>
<artifactId>com.adobe.granite.scribe</artifactId>
<version>1.3.8</version>
<scope>provided</scope>
</dependency>

If I look in the aem-commons-bundle it shows (without an error)

org.scribe.builder.api,version=[1.3.0,2) from com.adobe.granite.scribe (183)