AEM 6.4 Quickstart Jar file Not Working | Community
Skip to main content
Level 2
July 25, 2019

AEM 6.4 Quickstart Jar file Not Working

  • July 25, 2019
  • 6 replies
  • 14749 views

Having some trouble getting the quickstart to run.    What version of JDK for java should I be using?    I downloaded version 8.   So Java SE version is 1.8.0_221.

Right now, when I run the quickstart jar file.    I see this screen but it never advances in the progress bar.      I am on Windows 10 - 64bit.

Logs show.

25.07.2019 11:44:11.185 *INFO* [FelixStartLevel] org.apache.sling.commons.log.logback.internal.Activator LogbackManager initialized at bundle startup

25.07.2019 11:44:11.190 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice Service [org.apache.sling.commons.logservice.internal.LogServiceFactory,18, [org.osgi.service.log.LogService]] ServiceEvent REGISTERED

25.07.2019 11:44:11.191 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice Service [org.apache.sling.commons.logservice.internal.LogReaderServiceFactory,19, [org.osgi.service.log.LogReaderService]] ServiceEvent REGISTERED

25.07.2019 11:44:11.191 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice BundleEvent STARTED

25.07.2019 11:44:11.196 *ERROR* [FelixDispatchQueue] org.apache.sling.installer.core FrameworkEvent ERROR (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.core [12](R 12.0): missing requirement [org.apache.sling.installer.core [12](R 12.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation) Unresolved requirements: [[org.apache.sling.installer.core [12](R 12.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)])

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

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

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

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

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

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

25.07.2019 11:44:11.197 *ERROR* [FelixDispatchQueue] org.apache.sling.installer.factory.configuration FrameworkEvent ERROR (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.factory.configuration [13](R 13.0): missing requirement [org.apache.sling.installer.factory.configuration [13](R 13.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 [12](R 12.0): missing requirement [org.apache.sling.installer.core [12](R 12.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)] Unresolved requirements: [[org.apache.sling.installer.factory.configuration [13](R 13.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 [13](R 13.0): missing requirement [org.apache.sling.installer.factory.configuration [13](R 13.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 [12](R 12.0): missing requirement [org.apache.sling.installer.core [12](R 12.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)] Unresolved requirements: [[org.apache.sling.installer.factory.configuration [13](R 13.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:4149)

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

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

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

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

25.07.2019 11:44:11.198 *ERROR* [FelixDispatchQueue] org.apache.sling.installer.provider.file FrameworkEvent ERROR (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.provider.file [14](R 14.0): missing requirement [org.apache.sling.installer.provider.file [14](R 14.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api)(version>=3.1.2)(!(version>=4.0.0))) [caused by: Unable to resolve org.apache.sling.installer.core [12](R 12.0): missing requirement [org.apache.sling.installer.core [12](R 12.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)] Unresolved requirements: [[org.apache.sling.installer.provider.file [14](R 14.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api)(version>=3.1.2)(!(version>=4.0.0)))])

org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.provider.file [14](R 14.0): missing requirement [org.apache.sling.installer.provider.file [14](R 14.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api)(version>=3.1.2)(!(version>=4.0.0))) [caused by: Unable to resolve org.apache.sling.installer.core [12](R 12.0): missing requirement [org.apache.sling.installer.core [12](R 12.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)] Unresolved requirements: [[org.apache.sling.installer.provider.file [14](R 14.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api)(version>=3.1.2)(!(version>=4.0.0)))]

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

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

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

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

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

25.07.2019 11:44:11.200 *INFO* [FelixStartLevel] org.apache.sling.javax.activation BundleEvent RESOLVED

25.07.2019 11:44:11.251 *INFO* [FelixStartLevel] org.apache.sling.javax.activation BundleEvent STARTING

25.07.2019 11:44:11.253 *INFO* [FelixStartLevel] org.apache.sling.javax.activation BundleEvent STARTED

25.07.2019 11:44:11.255 *ERROR* [FelixDispatchQueue] org.apache.sling.launchpad.installer FrameworkEvent ERROR (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.launchpad.installer [16](R 16.0): missing requirement [org.apache.sling.launchpad.installer [16](R 16.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 [12](R 12.0): missing requirement [org.apache.sling.installer.core [12](R 12.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)] Unresolved requirements: [[org.apache.sling.launchpad.installer [16](R 16.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 [16](R 16.0): missing requirement [org.apache.sling.launchpad.installer [16](R 16.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 [12](R 12.0): missing requirement [org.apache.sling.installer.core [12](R 12.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)] Unresolved requirements: [[org.apache.sling.launchpad.installer [16](R 16.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:4149)

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

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

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

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

25.07.2019 11:44:11.257 *INFO* [FelixStartLevel] org.apache.sling.settings BundleEvent RESOLVED

25.07.2019 11:44:11.258 *INFO* [FelixStartLevel] org.apache.sling.settings BundleEvent STARTING

25.07.2019 11:44:11.262 *INFO* [FelixStartLevel] org.apache.sling.settings.impl.SlingSettingsServiceImpl Read Sling ID 75aefd32-fa62-4ec9-ab51-c2253e7f2aed from file C:\Work\Adobe AEM\AEM\crx-quickstart\launchpad\felix\bundle17\data\sling.id.file

25.07.2019 11:44:11.281 *INFO* [FelixStartLevel] org.apache.sling.settings.impl.SlingSettingsServiceImpl Active run modes: [s7connect, crx3, author, samplecontent, crx3tar]

25.07.2019 11:44:11.281 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Settings Service,20, [org.apache.sling.settings.SlingSettingsService]] ServiceEvent REGISTERED

25.07.2019 11:44:11.283 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Sling Properties Configuration Printer,21, [org.apache.sling.settings.impl.SlingPropertiesPrinter]] ServiceEvent REGISTERED

25.07.2019 11:44:11.284 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Sling Settings Configuration Printer,22, [org.apache.sling.settings.impl.SlingSettingsPrinter]] ServiceEvent REGISTERED

25.07.2019 11:44:11.287 *INFO* [FelixStartLevel] org.apache.sling.settings Service [org.apache.sling.settings.impl.SlingSettingsServiceImpl,23, [org.osgi.service.cm.ManagedService]] ServiceEvent REGISTERED

25.07.2019 11:44:11.287 *INFO* [FelixStartLevel] org.apache.sling.settings BundleEvent STARTED

25.07.2019 11:44:11.287 *INFO* [FelixStartLevel] slf4j.api BundleEvent STARTING

25.07.2019 11:44:11.287 *INFO* [FelixStartLevel] slf4j.api BundleEvent STARTED

25.07.2019 11:44:11.287 *INFO* [main] org.apache.felix.framework BundleEvent STARTED

25.07.2019 11:44:11.288 *INFO* [FelixDispatchQueue] org.apache.felix.framework Startup finished in 2262ms

25.07.2019 11:44:11.289 *INFO* [FelixDispatchQueue] org.apache.felix.framework Service [Apache Sling Startup Service,24, [org.apache.sling.launchpad.api.StartupService]] ServiceEvent REGISTERED

25.07.2019 11:44:11.292 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTED

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

6 replies

joerghoh
Adobe Employee
Adobe Employee
July 25, 2019

Which logfile have you posted? Can you check the error.log file for a hopefully more meaningfull error? Can you reach "localhost:4502" with a browser?

Adobe Employee
July 25, 2019

1. Can you post the output of java -version ?

2. Are you running quickstart as root/admin ?

bb2j3z2xAuthor
Level 2
July 25, 2019

java version "1.8.0_221"

Java(TM) SE Runtime Environment (build 1.8.0_221-b11)

Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)

It's using the JDK in

C:\Program Files\Java\jdk1.8.0_221

Adobe Employee
July 25, 2019

same result...  nothing comes up.

C:\Work\Adobe AEM\AEM>java -jar -Xmx1024m aem64-author-p4564.jar

Loading quickstart properties: default

Loading quickstart properties: instance

Low-memory action set to fork

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

**** WARNING: insufficent heap memory ******************************************

The JVM reports 910 MB but we recommend at least 1024 MB +/- 20

Use your JVM's heap size option (like -Xmx1024M) to set that size.

Will fork a JVM to get enough memory.

********************************************************************************

Available memory below specified limits and low-memory action set to fork, will fork to get enough memory

Preparing to fork JVM, OS name=Windows 10, isWindows=true

Forking JVM: [C:\Program Files\Java\jre1.8.0_221\bin\java.exe, -Xmx1024m, -XX:MaxPermSize=256m, -jar, C:/Work/Adobe AEM/AEM/aem64-author-p4564.jar, -nofork, -pt, CHILD]

Loading quickstart properties: default

Loading quickstart properties: instance

Low-memory action set to fork

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

**** WARNING: insufficent heap memory ******************************************

The JVM reports 910 MB but we recommend at least 1024 MB +/- 20

Use your JVM's heap size option (like -Xmx1024M) to set that size.

Will fork a JVM to get enough memory.

********************************************************************************

Available memory below specified limits and low-memory action set to fork, will fork to get enough memory

Not forking JVM as -nofork option is set

Setting properties from filename 'C:/Work/Adobe AEM/AEM/aem64-author-p4564.jar'

Option '-quickstart.server.port' set to '4564' from filename aem64-author-p4564.jar

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

Redirecting stdout to C:\Work\Adobe AEM\AEM\crx-quickstart\logs\stdout.log

Redirecting stderr to C:\Work\Adobe AEM\AEM\crx-quickstart\logs\stderr.log

Press CTRL-C to shutdown the Quickstart server...

My laptop is pretty decent.

OS Name Microsoft Windows 10 Pro

Installed Physical Memory (RAM) 32.0 GB

Processor Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz, 2904 Mhz, 6 Core(s), 12 Logical Processor(s)

Hard Disk: 952 GB (730 GB free)


If you are connected to this machine as admin then the last thing that I can think of is that the .jar file is somehow corrupted. 

Adobe Employee
July 25, 2019

Look like you are using the JRE instead of the JDK. You might want to check Java version that is installed.

santhosh_kumark
Level 6
December 8, 2019

Increase the heap memory size to >1024 MB

Try running the below command from the command prompt with verbose option set.

java -Xmx1536M -jar AEM_6.4_Quickstart.jar -v

Hope this helps.

September 10, 2020

So, I was having the same issue and the problem was solved after I uninstalled all JDKs(versions 11 & 14) and left only JDK version 8.

samr2b1
Level 2
February 2, 2021

This really worked for me, Thank you

December 21, 2022

I had the same issue.

I managed to fix it by installing OpenJDK 8 (1.8.0)