Expand my Community achievements bar.

SOLVED

AEM Server not starting up

Avatar

Community Advisor

Hi All

     Lately we (everybody in my team) are facing issues starting the AEM instance. Before going to issue little context on what changes had happened to our system lately. We all have machines with below configuration

Processor - Intel Core i5

RAM - 8 GB

OS - 64-bit Windows 10

    The AEM Jars were running fine in our machines till two or three weeks back. But lately when we started AEM , we got a pop up which said FIrewall has blocked this JAR from executing. We have Avecto Defendpoint Installed in our machines and the error message said that , the JAR is blocked by this application. But the weird part is , we don't get this message often (If you are lucky u will get and during one such luck moment I grabbed a screenshot). Attaching the screenshot below

1628136_pastedImage_3.png

On Clicking "Allow Access" I get the below popup

1628135_pastedImage_2.png

          I am not 100% sure if this is the reason none of our JARs are executing , but my gut feeling says , it could be . My IT team added me to the Avecto group which as per them could have solved the issue . But unfortunately it didn't . Now I am not sure about the cause nor the solution.

I am really looking forward to the community to provide some kind of help here . Treat it bit priority. I am up for any trail and error. Attaching here the stderr.log since thats the only log which is getting generated when we first start the JARs.

Low-memory action set to fork

Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork arguments=[-Xmx1024m, -XX:MaxPermSize=256m]

The JVM reports a heap size of 1024 MB, meets our expectation of 1024 MB +/- 20

No console, will fork to get enough memory

Not forking JVM as -nofork option is set

Setting properties from filename 'C:/Users/Desktop/aem/aem6.3/instances/author/aem-author-p4502.jar'

Option '-quickstart.server.port' set to '4502' from filename aem-author-p4502.jar

Verbose option not active, closing stdin and redirecting stdout and stderr

Redirecting stdout to C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\logs\stdout.log

Redirecting stderr to C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\logs\stderr.log

ResourceProvider paths=[/gui, /gui/default]

loadProperties: found /gui/default/gui.properties

loadProperties: found /gui/gui.properties

getResourceURL: found /gui/cq55icon_round_WIN_512x512.gif

getResourceURL: found /gui/cq55icon_round_WIN_256x256.gif

getResourceURL: found /gui/cq55icon_round_WIN_128x128.gif

getResourceURL: found /gui/cq55icon_round_WIN_64x64.gif

getResourceURL: found /gui/cq55icon_round_WIN_48x48.gif

getResourceURL: found /gui/cq55icon_round_WIN_32x32.gif

getResourceURL: found /gui/cq55icon_round_WIN_16x16_block.gif

getResourceURL: found /gui/gui_bg_start.png

getResourceURL: found /gui/gui_bg_on_blank.png

getResourceURL: found /gui/gui_bg_off.png

org.osgi.framework.BundleException: Exported package names cannot be zero length.

at org.apache.felix.framework.util.manifestparser.ManifestParser.normalizeExportClauses(ManifestParser.java:898)

at org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:216)

at org.apache.felix.framework.ExtensionManager.<init>(ExtensionManager.java:250)

at org.apache.felix.framework.Felix.<init>(Felix.java:429)

at org.apache.sling.launchpad.base.impl.SlingFelix.<init>(SlingFelix.java:49)

at org.apache.sling.launchpad.base.impl.Sling.createFramework(Sling.java:341)

at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:210)

at org.apache.sling.launchpad.base.app.MainDelegate$1.<init>(MainDelegate.java:180)

at org.apache.sling.launchpad.base.app.MainDelegate.start(MainDelegate.java:180)

at org.apache.sling.launchpad.app.Main.doStart(Main.java:411)

at org.apache.sling.launchpad.app.Main.doStart(Main.java:347)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:566)

at com.adobe.granite.quickstart.base.impl.exec.Bootstrap.run(Bootstrap.java:105)

at com.adobe.granite.quickstart.base.impl.Quickstart.run(Quickstart.java:273)

at com.adobe.granite.quickstart.base.impl.Main.<init>(Main.java:897)

at com.adobe.granite.quickstart.base.impl.Main.main(Main.java:959)

java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0

at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)

at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)

at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)

at java.base/java.util.Objects.checkIndex(Objects.java:372)

at java.base/java.util.ArrayList.get(ArrayList.java:458)

at org.apache.felix.framework.ExtensionManager.addExtensionBundle(ExtensionManager.java:466)

at org.apache.felix.framework.Felix.installBundle(Felix.java:3024)

at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:167)

at org.apache.sling.launchpad.base.impl.BootstrapInstaller.installBundle(BootstrapInstaller.java:496)

at org.apache.sling.launchpad.base.impl.BootstrapInstaller.installBundles(BootstrapInstaller.java:404)

at org.apache.sling.launchpad.base.impl.BootstrapInstaller.install(BootstrapInstaller.java:234)

at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:214)

at org.apache.sling.launchpad.base.app.MainDelegate$1.<init>(MainDelegate.java:180)

at org.apache.sling.launchpad.base.app.MainDelegate.start(MainDelegate.java:180)

at org.apache.sling.launchpad.app.Main.doStart(Main.java:411)

at org.apache.sling.launchpad.app.Main.doStart(Main.java:347)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:566)

at com.adobe.granite.quickstart.base.impl.exec.Bootstrap.run(Bootstrap.java:105)

at com.adobe.granite.quickstart.base.impl.Quickstart.run(Quickstart.java:273)

at com.adobe.granite.quickstart.base.impl.Main.<init>(Main.java:897)

at com.adobe.granite.quickstart.base.impl.Main.main(Main.java:959)

java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0

at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)

at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)

at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)

at java.base/java.util.Objects.checkIndex(Objects.java:372)

at java.base/java.util.ArrayList.get(ArrayList.java:458)

at org.apache.felix.framework.ExtensionManager.addExtensionBundle(ExtensionManager.java:466)

at org.apache.felix.framework.Felix.installBundle(Felix.java:3024)

at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:167)

at org.apache.sling.launchpad.base.impl.BootstrapInstaller.installBundle(BootstrapInstaller.java:496)

at org.apache.sling.launchpad.base.impl.BootstrapInstaller.installBundles(BootstrapInstaller.java:404)

at org.apache.sling.launchpad.base.impl.BootstrapInstaller.install(BootstrapInstaller.java:234)

at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:214)

at org.apache.sling.launchpad.base.app.MainDelegate$1.<init>(MainDelegate.java:180)

at org.apache.sling.launchpad.base.app.MainDelegate.start(MainDelegate.java:180)

at org.apache.sling.launchpad.app.Main.doStart(Main.java:411)

at org.apache.sling.launchpad.app.Main.doStart(Main.java:347)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:566)

at com.adobe.granite.quickstart.base.impl.exec.Bootstrap.run(Bootstrap.java:105)

at com.adobe.granite.quickstart.base.impl.Quickstart.run(Quickstart.java:273)

at com.adobe.granite.quickstart.base.impl.Main.<init>(Main.java:897)

at com.adobe.granite.quickstart.base.impl.Main.main(Main.java:959)

23.11.2018 12:21:24.501 *ERROR* [FelixStartLevel] ERROR: Bundle '1' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\com.adobe.granite.crypto-3.4.8.jar (org.osgi.framework.BundleException: Unable to resolve com.adobe.granite.crypto [1](R 1.0): missing requirement [com.adobe.granite.crypto [1](R 1.0)] osgi.wiring.package; (osgi.wiring.package=javax.security.auth.x500) Unresolved requirements: [[com.adobe.granite.crypto [1](R 1.0)] osgi.wiring.package; (osgi.wiring.package=javax.security.auth.x500)])

org.osgi.framework.BundleException: Unable to resolve com.adobe.granite.crypto [1](R 1.0): missing requirement [com.adobe.granite.crypto [1](R 1.0)] osgi.wiring.package; (osgi.wiring.package=javax.security.auth.x500) Unresolved requirements: [[com.adobe.granite.crypto [1](R 1.0)] osgi.wiring.package; (osgi.wiring.package=javax.security.auth.x500)]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.501 *ERROR* [FelixStartLevel] ERROR: Bundle '2' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\com.adobe.granite.startup-0.6.2.jar (org.osgi.framework.BundleException: Unable to resolve com.adobe.granite.startup [2](R 2.0): missing requirement [com.adobe.granite.startup [2](R 2.0)] osgi.wiring.package; (osgi.wiring.package=javax.management) Unresolved requirements: [[com.adobe.granite.startup [2](R 2.0)] osgi.wiring.package; (osgi.wiring.package=javax.management)])

org.osgi.framework.BundleException: Unable to resolve com.adobe.granite.startup [2](R 2.0): missing requirement [com.adobe.granite.startup [2](R 2.0)] osgi.wiring.package; (osgi.wiring.package=javax.management) Unresolved requirements: [[com.adobe.granite.startup [2](R 2.0)] osgi.wiring.package; (osgi.wiring.package=javax.management)]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.501 *ERROR* [FelixStartLevel] ERROR: Bundle '3' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\commons-io-2.5.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.commons.io [3](R 3.0): missing requirement [org.apache.commons.io [3](R 3.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6)) Unresolved requirements: [[org.apache.commons.io [3](R 3.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))])

org.osgi.framework.BundleException: Unable to resolve org.apache.commons.io [3](R 3.0): missing requirement [org.apache.commons.io [3](R 3.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6)) Unresolved requirements: [[org.apache.commons.io [3](R 3.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.6))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.501 *ERROR* [FelixStartLevel] ERROR: Bundle '4' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\jcl-over-slf4j-1.7.21.jar (org.osgi.framework.BundleException: Unable to resolve jcl.over.slf4j [4](R 4.0): missing requirement [jcl.over.slf4j [4](R 4.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.spi)(version>=1.7.21)) [caused by: Unable to resolve slf4j.api [19](R 19.0): missing requirement [slf4j.api [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[jcl.over.slf4j [4](R 4.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.spi)(version>=1.7.21))])

org.osgi.framework.BundleException: Unable to resolve jcl.over.slf4j [4](R 4.0): missing requirement [jcl.over.slf4j [4](R 4.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.spi)(version>=1.7.21)) [caused by: Unable to resolve slf4j.api [19](R 19.0): missing requirement [slf4j.api [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[jcl.over.slf4j [4](R 4.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.spi)(version>=1.7.21))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.517 *ERROR* [FelixStartLevel] ERROR: Bundle '5' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\log4j-over-slf4j-1.7.21.jar (org.osgi.framework.BundleException: Unable to resolve log4j.over.slf4j [5](R 5.0): missing requirement [log4j.over.slf4j [5](R 5.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.helpers)(version>=1.6.0)) [caused by: Unable to resolve slf4j.api [19](R 19.0): missing requirement [slf4j.api [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[log4j.over.slf4j [5](R 5.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.helpers)(version>=1.6.0))])

org.osgi.framework.BundleException: Unable to resolve log4j.over.slf4j [5](R 5.0): missing requirement [log4j.over.slf4j [5](R 5.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.helpers)(version>=1.6.0)) [caused by: Unable to resolve slf4j.api [19](R 19.0): missing requirement [slf4j.api [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[log4j.over.slf4j [5](R 5.0)] osgi.wiring.package; (&(osgi.wiring.package=org.slf4j.helpers)(version>=1.6.0))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.517 *ERROR* [FelixStartLevel] ERROR: Bundle '6' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\org.apache.aries.util-1.1.1.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.aries.util [6](R 6.0): missing requirement [org.apache.aries.util [6](R 6.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.6.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.aries.util [6](R 6.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.6.0)(!(version>=2.0.0)))])

org.osgi.framework.BundleException: Unable to resolve org.apache.aries.util [6](R 6.0): missing requirement [org.apache.aries.util [6](R 6.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.6.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.aries.util [6](R 6.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.6.0)(!(version>=2.0.0)))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.517 *ERROR* [FelixStartLevel] ERROR: Bundle '7' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\org.apache.felix.configadmin-1.9.0-B002.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.felix.configadmin [7](R 7.0): missing requirement [org.apache.felix.configadmin [7](R 7.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.felix.configadmin [7](R 7.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0)))])

org.osgi.framework.BundleException: Unable to resolve org.apache.felix.configadmin [7](R 7.0): missing requirement [org.apache.felix.configadmin [7](R 7.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.felix.configadmin [7](R 7.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0)))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.517 *ERROR* [FelixStartLevel] ERROR: Bundle '8' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\org.apache.felix.coordinator-1.0.2.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.felix.coordinator [8](R 8.0): missing requirement [org.apache.felix.coordinator [8](R 8.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.6.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.felix.coordinator [8](R 8.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.6.0)(!(version>=2.0.0)))])

org.osgi.framework.BundleException: Unable to resolve org.apache.felix.coordinator [8](R 8.0): missing requirement [org.apache.felix.coordinator [8](R 8.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.6.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.felix.coordinator [8](R 8.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.6.0)(!(version>=2.0.0)))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.532 *ERROR* [FelixStartLevel] ERROR: Bundle '9' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\org.apache.sling.commons.log-5.0.0.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.commons.log [9](R 9.0): missing requirement [org.apache.sling.commons.log [9](R 9.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.3.0)) Unresolved requirements: [[org.apache.sling.commons.log [9](R 9.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.3.0))])

org.osgi.framework.BundleException: Unable to resolve org.apache.sling.commons.log [9](R 9.0): missing requirement [org.apache.sling.commons.log [9](R 9.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.3.0)) Unresolved requirements: [[org.apache.sling.commons.log [9](R 9.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.3.0))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.532 *ERROR* [FelixStartLevel] ERROR: Bundle '10' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\org.apache.sling.commons.logservice-1.0.6.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.commons.logservice [10](R 10.0): missing requirement [org.apache.sling.commons.logservice [10](R 10.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.sling.commons.logservice [10](R 10.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0)))])

org.osgi.framework.BundleException: Unable to resolve org.apache.sling.commons.logservice [10](R 10.0): missing requirement [org.apache.sling.commons.logservice [10](R 10.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.sling.commons.logservice [10](R 10.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0)))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.532 *ERROR* [FelixStartLevel] ERROR: Bundle '13' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\org.apache.sling.installer.core-3.8.6.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.core [13](R 13.0): missing requirement [org.apache.sling.installer.core [13](R 13.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation) Unresolved requirements: [[org.apache.sling.installer.core [13](R 13.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)])

org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.core [13](R 13.0): missing requirement [org.apache.sling.installer.core [13](R 13.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation) Unresolved requirements: [[org.apache.sling.installer.core [13](R 13.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.532 *ERROR* [FelixStartLevel] ERROR: Bundle '14' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\org.apache.sling.installer.factory.configuration-1.1.2.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.factory.configuration [14](R 14.0): missing requirement [org.apache.sling.installer.factory.configuration [14](R 14.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api.tasks)(version>=1.3.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.apache.sling.installer.core [13](R 13.0): missing requirement [org.apache.sling.installer.core [13](R 13.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)] Unresolved requirements: [[org.apache.sling.installer.factory.configuration [14](R 14.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api.tasks)(version>=1.3.0)(!(version>=2.0.0)))])

org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.factory.configuration [14](R 14.0): missing requirement [org.apache.sling.installer.factory.configuration [14](R 14.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api.tasks)(version>=1.3.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.apache.sling.installer.core [13](R 13.0): missing requirement [org.apache.sling.installer.core [13](R 13.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)] Unresolved requirements: [[org.apache.sling.installer.factory.configuration [14](R 14.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api.tasks)(version>=1.3.0)(!(version>=2.0.0)))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.532 *ERROR* [FelixStartLevel] ERROR: Bundle '15' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\org.apache.sling.installer.provider.file-1.1.0.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.provider.file [15](R 15.0): missing requirement [org.apache.sling.installer.provider.file [15](R 15.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.sling.installer.provider.file [15](R 15.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0)))])

org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.provider.file [15](R 15.0): missing requirement [org.apache.sling.installer.provider.file [15](R 15.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.sling.installer.provider.file [15](R 15.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0)))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.532 *ERROR* [FelixStartLevel] ERROR: Bundle '16' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\org.apache.sling.javax.activation-0.1.0.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.javax.activation [16](R 16.0): missing requirement [org.apache.sling.javax.activation [16](R 16.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.sling.javax.activation [16](R 16.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0)))])

org.osgi.framework.BundleException: Unable to resolve org.apache.sling.javax.activation [16](R 16.0): missing requirement [org.apache.sling.javax.activation [16](R 16.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.sling.javax.activation [16](R 16.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0)))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.532 *ERROR* [FelixStartLevel] ERROR: Bundle '17' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\org.apache.sling.launchpad.installer-1.2.2.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.launchpad.installer [17](R 17.0): missing requirement [org.apache.sling.launchpad.installer [17](R 17.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api.event)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.apache.sling.installer.core [13](R 13.0): missing requirement [org.apache.sling.installer.core [13](R 13.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)] Unresolved requirements: [[org.apache.sling.launchpad.installer [17](R 17.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api.event)(version>=1.0.0)(!(version>=2.0.0)))])

org.osgi.framework.BundleException: Unable to resolve org.apache.sling.launchpad.installer [17](R 17.0): missing requirement [org.apache.sling.launchpad.installer [17](R 17.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api.event)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.apache.sling.installer.core [13](R 13.0): missing requirement [org.apache.sling.installer.core [13](R 13.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)] Unresolved requirements: [[org.apache.sling.launchpad.installer [17](R 17.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api.event)(version>=1.0.0)(!(version>=2.0.0)))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.532 *ERROR* [FelixStartLevel] ERROR: Bundle '18' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\org.apache.sling.settings-1.3.8.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.settings [18](R 18.0): missing requirement [org.apache.sling.settings [18](R 18.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.sling.settings [18](R 18.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0)))])

org.osgi.framework.BundleException: Unable to resolve org.apache.sling.settings [18](R 18.0): missing requirement [org.apache.sling.settings [18](R 18.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.sling.settings [18](R 18.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0)))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

23.11.2018 12:21:24.532 *ERROR* [FelixStartLevel] ERROR: Bundle '19' Error starting slinginstall:C:\Users\Desktop\aem\aem6.3\instances\author\crx-quickstart\launchpad\startup\1\slf4j-api-1.7.21.jar (org.osgi.framework.BundleException: Unable to resolve slf4j.api [19](R 19.0): missing requirement [slf4j.api [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[slf4j.api [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))])

org.osgi.framework.BundleException: Unable to resolve slf4j.api [19](R 19.0): missing requirement [slf4j.api [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[slf4j.api [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))]

at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)

at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.base/java.lang.Thread.run(Thread.java:834)

CHILD process: shutdown hook

CHILD process: exiting

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

I would assume that your Security tool interferes here and prevents AEM from properly working. That's something I cannot help with.

On a system of mine with Windows 10 AEM 6.3/AEM 6.4 is working flawlessly (in a developer setup).

Jörg

View solution in original post

14 Replies

Avatar

Employee Advisor

Is this Java 1.7 or Java 1.8? Java 7 is not supported anymore.


See: Technical Requirements

Avatar

Level 10

Hi Veena,

Jorg is right!!

Java 7 is not supported from AEM 6.3 onwards. You need to use Java 8.

Thanks,

Ratna Kumar.

Avatar

Community Advisor

Its Java 8 Jorg. Everything was working fine till 2 weeks back.

Avatar

Employee Advisor

I came to the idea of the java version because the strange path to the java binary in your screenshot. I assume that you use AEM 6.3 (as suggested by some paths as well).

Are you using a Java 8 JDK or JRE?

The fact that you and your colleagues start to see this behavior at a similar time make me think that there was a change to your systems which is causing that.

Jörg

Avatar

Community Advisor

Yes Jorg. We use JDK

1631069_pastedImage_0.png

  I have an old machine in my team which has Windows 7 with 8 GB RAM and 64 Bit OS in which AEM is working fine. I am not able to identify yet why my JAR is not starting up  in Windows 10 machines. Sometimes we are able to start it using the start.bat

Avatar

Correct answer by
Employee Advisor

I would assume that your Security tool interferes here and prevents AEM from properly working. That's something I cannot help with.

On a system of mine with Windows 10 AEM 6.3/AEM 6.4 is working flawlessly (in a developer setup).

Jörg

Avatar

Community Advisor

Right. That's what even I could interfere from all of this.But unfortunately my technical team is providing no help so far. My personal laptop has same configuration as my official laptop and it works fine as u said. I just wanted a confirmation that their network settings or firewall settings or app like Avecto (which i mentioned above) might be interfering. Thanks for all your guidance Jorg.

Avatar

Level 2

Hi Veena,

We are facing the same issue. Did you find any solution?

Avatar

Community Advisor

Unfortunatly No. Few of the associates have been starting the server via command line. But then it works for a day and later not.

Avatar

Level 1

Hi Veena,

I am getting similar issue. What you did to solve this problem?

Avatar

Level 2

Got a similar issue on Ubuntu Jammy Jellyfish, using OpenJDK 11 and 18. Tried both.

 

12.08.2022 16:44:02.901 *ERROR* [FelixStartLevel] ERROR: Bundle '9' Error starting slinginstall:com.adobe.granite.crypto-3.4.16.jar (java.lang.ExceptionInInitializerError)
java.lang.ExceptionInInitializerError
	at org.apache.felix.framework.URLHandlers.createURLStreamHandler(URLHandlers.java:513)
	at java.base/java.net.URL.getURLStreamHandler(URL.java:1436)
	at java.base/java.net.URL.<init>(URL.java:479)
	at java.base/jdk.internal.loader.URLClassPath$JarLoader.<init>(URLClassPath.java:732)
	at java.base/jdk.internal.loader.URLClassPath$3.run(URLClassPath.java:502)
	at java.base/jdk.internal.loader.URLClassPath$3.run(URLClassPath.java:485)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
	at java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:484)
	at java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:452)
	at java.base/jdk.internal.loader.URLClassPath.findResource(URLClassPath.java:298)
	at java.base/java.net.URLClassLoader$2.run(URLClassLoader.java:629)
	at java.base/java.net.URLClassLoader$2.run(URLClassLoader.java:627)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.net.URLClassLoader.findResource(URLClassLoader.java:626)
	at com.adobe.granite.crypto.internal.InternalClassLoaderWrapper$JarFileClassLoader.findClass(InternalClassLoaderWrapper.java:175)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	at com.adobe.granite.crypto.internal.Activator.getOrCreateKeyGenerator(Activator.java:145)
	at com.adobe.granite.crypto.internal.Activator.start(Activator.java:65)
	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:698)
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:2402)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.RuntimeException: Unable to make protected boolean java.net.URLStreamHandler.equals(java.net.URL,java.net.URL) accessible: module java.base does not "opens java.net" to unnamed module @6f36c2f0
	at org.apache.felix.framework.URLHandlersStreamHandlerProxy.<clinit>(URLHandlersStreamHandlerProxy.java:104)
	... 25 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected boolean java.net.URLStreamHandler.equals(java.net.URL,java.net.URL) accessible: module java.base does not "opens java.net" to unnamed module @6f36c2f0
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
	at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:200)
	at java.base/java.lang.reflect.Method.setAccessible(Method.java:194)
	at org.apache.felix.framework.util.SecureAction.setAccesssible(SecureAction.java:871)
	at org.apache.felix.framework.URLHandlersStreamHandlerProxy.<clinit>(URLHandlersStreamHandlerProxy.java:79)
	... 25 more
12.08.2022 16:44:03.678 *ERROR* [FelixStartLevel] ERROR: Bundle '4' EventDispatcher: Error during dispatch. (java.lang.NoClassDefFoundError: Could not initialize class org.apache.felix.framework.URLHandlersStreamHandlerProxy)
java.lang.NoClassDefFoundError: Could not initialize class org.apache.felix.framework.URLHandlersStreamHandlerProxy
	at org.apache.felix.framework.URLHandlers.createURLStreamHandler(URLHandlers.java:513)
	at java.base/java.net.URL.getURLStreamHandler(URL.java:1436)
	at java.base/java.net.URL.<init>(URL.java:680)
	at java.base/java.net.URL.fromURI(URL.java:748)
	at java.base/java.net.URI.toURL(URI.java:1139)
	at org.apache.sling.installer.core.impl.InternalResource.create(InternalResource.java:87)
	at org.apache.sling.installer.core.impl.OsgiInstallerImpl.createResources(OsgiInstallerImpl.java:384)
	at org.apache.sling.installer.core.impl.OsgiInstallerImpl.registerResources(OsgiInstallerImpl.java:477)
	at org.apache.sling.launchpad.installer.impl.LaunchpadConfigInstaller.install(LaunchpadConfigInstaller.java:207)
	at org.apache.sling.launchpad.installer.impl.LaunchpadConfigInstaller.install(LaunchpadConfigInstaller.java:150)
	at org.apache.sling.launchpad.installer.impl.ServicesListener.notifyChange(ServicesListener.java:100)
	at org.apache.sling.launchpad.installer.impl.ServicesListener$Listener.retainService(ServicesListener.java:182)
	at org.apache.sling.launchpad.installer.impl.ServicesListener$Listener.serviceChanged(ServicesListener.java:205)
	at org.apache.felix.framework.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:990)
	at org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:838)
	at org.apache.felix.framework.EventDispatcher.fireServiceEvent(EventDispatcher.java:545)
	at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4833)
	at org.apache.felix.framework.Felix.registerService(Felix.java:3804)
	at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:328)
	at org.apache.sling.settings.impl.ServicesListener.<init>(ServicesListener.java:64)
	at org.apache.sling.settings.impl.Activator.start(Activator.java:38)
	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:698)
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:2402)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.RuntimeException: Unable to make protected boolean java.net.URLStreamHandler.equals(java.net.URL,java.net.URL) accessible: module java.base does not "opens java.net" to unnamed module @6f36c2f0 [in thread "FelixStartLevel"]
	at org.apache.felix.framework.URLHandlersStreamHandlerProxy.<clinit>(URLHandlersStreamHandlerProxy.java:104)
	at org.apache.felix.framework.URLHandlers.createURLStreamHandler(URLHandlers.java:513)
	at java.base/java.net.URL.getURLStreamHandler(URL.java:1436)
	at java.base/java.net.URL.<init>(URL.java:479)
	at java.base/jdk.internal.loader.URLClassPath$JarLoader.<init>(URLClassPath.java:732)
	at java.base/jdk.internal.loader.URLClassPath$3.run(URLClassPath.java:502)
	at java.base/jdk.internal.loader.URLClassPath$3.run(URLClassPath.java:485)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
	at java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:484)
	at java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:452)
	at java.base/jdk.internal.loader.URLClassPath.findResource(URLClassPath.java:298)
	at java.base/java.net.URLClassLoader$2.run(URLClassLoader.java:629)
	at java.base/java.net.URLClassLoader$2.run(URLClassLoader.java:627)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.net.URLClassLoader.findResource(URLClassLoader.java:626)
	at com.adobe.granite.crypto.internal.InternalClassLoaderWrapper$JarFileClassLoader.findClass(InternalClassLoaderWrapper.java:175)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	at com.adobe.granite.crypto.internal.Activator.getOrCreateKeyGenerator(Activator.java:145)
	at com.adobe.granite.crypto.internal.Activator.start(Activator.java:65)
	... 6 more

Avatar

Level 1

Got similar issues when updated my java to version 17, then downgrade to 11. What worked for me was going back to java 1.8.0_345(Zulu), I've installed it with SDKMAN 

Avatar

Level 4

I found an issue related to a tmpDir directive when starting AEM. If during the first initialisation, the tmpDir (by default `/tmp`) is inaccessible to Java, the installation will fail. Afterwards, it will only impact the package manager, but it will give you a clearer error in the UI. 

 

You can adapt the tmpDir by starting AEM with the tmpdir flag `-Djava.io.tmpdir=/myTmpDir`, e.g. 

 

java -Xms4096m -Xmx4096m -Djava.io.tmpdir=/myTmpdir -jar "cq-quickstart-6.5.0.jar" -r "author" -p "4502" -nofork