3 Replies Latest reply on Dec 8, 2018 9:49 AM by Jörg Hoh

    quickstart hangs

    v-blades

      renamed jar file to c164-author-p4502.jar when running it just hangs after a step. I have been following the steps to Create Project with Maven AEM Project Archetype 15.

      I've tried deleting the crx-quickstart folder and re-running the .jar file.  I have maven and java 8 installed.

       

      mvn -version returns

       

      Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T11:41:47-07:00)

      Maven home: C:\Users\v-rablad\Downloads\apache-maven-3.6.0\bin\..

      Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_191\jre

      Default locale: en_US, platform encoding: Cp1252

      OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

       

      log error file shows

      06.12.2018 10:13:06.408 *INFO* [FelixStartLevel] org.apache.sling.commons.log.logback.internal.Activator LogbackManager initialized at bundle startup

      06.12.2018 10:13:06.414 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice Service [org.apache.sling.commons.logservice.internal.LogServiceFactory,18, [org.osgi.service.log.LogService]] ServiceEvent REGISTERED

      06.12.2018 10:13:06.414 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice Service [org.apache.sling.commons.logservice.internal.LogReaderServiceFactory,19, [org.osgi.service.log.LogReaderService]] ServiceEvent REGISTERED

      06.12.2018 10:13:06.414 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice BundleEvent STARTED

      06.12.2018 10:13:06.421 *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:834)

      06.12.2018 10:13:06.424 *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:834)

      06.12.2018 10:13:06.424 *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:834)

      06.12.2018 10:13:06.425 *INFO* [FelixStartLevel] org.apache.sling.javax.activation BundleEvent RESOLVED

      06.12.2018 10:13:06.432 *INFO* [FelixStartLevel] org.apache.sling.javax.activation BundleEvent STARTING

      06.12.2018 10:13:06.435 *INFO* [FelixStartLevel] org.apache.sling.javax.activation BundleEvent STARTED

      06.12.2018 10:13:06.436 *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:834)

      06.12.2018 10:13:06.439 *INFO* [FelixStartLevel] org.apache.sling.settings BundleEvent RESOLVED

      06.12.2018 10:13:06.441 *INFO* [FelixStartLevel] org.apache.sling.settings BundleEvent STARTING

      06.12.2018 10:13:06.443 *INFO* [FelixStartLevel] org.apache.sling.settings.impl.SlingSettingsServiceImpl Read Sling ID null from file C:\Users\v-rablad\Desktop\aem\crx-quickstart\launchpad\felix\bundle17\data\sling.id.file

      06.12.2018 10:13:06.446 *INFO* [FelixStartLevel] org.apache.sling.settings.impl.SlingSettingsServiceImpl Created new Sling ID ee3ab802-9b42-4435-872f-5c1fe14e57de

      06.12.2018 10:13:06.460 *INFO* [FelixStartLevel] org.apache.sling.settings.impl.SlingSettingsServiceImpl Active run modes: [s7connect, crx3, author, samplecontent, crx3tar]

      06.12.2018 10:13:06.460 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Settings Service,20, [org.apache.sling.settings.SlingSettingsService]] ServiceEvent REGISTERED

      06.12.2018 10:13:06.462 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Sling Properties Configuration Printer,21, [org.apache.sling.settings.impl.SlingPropertiesPrinter]] ServiceEvent REGISTERED

      06.12.2018 10:13:06.462 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Sling Settings Configuration Printer,22, [org.apache.sling.settings.impl.SlingSettingsPrinter]] ServiceEvent REGISTERED

      06.12.2018 10:13:06.466 *INFO* [FelixStartLevel] org.apache.sling.settings Service [org.apache.sling.settings.impl.SlingSettingsServiceImpl,23, [org.osgi.service.cm.ManagedService]] ServiceEvent REGISTERED

      06.12.2018 10:13:06.467 *INFO* [FelixStartLevel] org.apache.sling.settings BundleEvent STARTED

      06.12.2018 10:13:06.467 *INFO* [FelixStartLevel] slf4j.api BundleEvent STARTING

      06.12.2018 10:13:06.467 *INFO* [FelixStartLevel] slf4j.api BundleEvent STARTED

      06.12.2018 10:13:06.467 *INFO* [main] org.apache.felix.framework BundleEvent STARTED

      06.12.2018 10:13:06.467 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTED

      06.12.2018 10:13:08.469 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 2

      06.12.2018 10:13:10.469 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 3

      06.12.2018 10:13:12.470 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 4

      06.12.2018 10:13:14.471 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 5

      06.12.2018 10:13:16.472 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 6

      06.12.2018 10:13:18.472 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 7

      06.12.2018 10:13:20.473 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 8

      06.12.2018 10:13:22.474 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 9

      06.12.2018 10:13:24.475 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 10

      06.12.2018 10:13:26.475 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 11

      06.12.2018 10:13:28.476 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 12

      06.12.2018 10:13:30.476 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 13

      06.12.2018 10:13:32.476 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 14

      06.12.2018 10:13:34.477 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 15

      06.12.2018 10:13:36.479 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 16

      06.12.2018 10:13:38.481 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 17

      06.12.2018 10:13:40.482 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 18

      06.12.2018 10:13:42.483 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 19

      06.12.2018 10:13:44.485 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 20

      06.12.2018 10:13:46.486 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 21

      06.12.2018 10:13:48.488 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 22

      06.12.2018 10:13:50.489 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 23

      06.12.2018 10:13:52.490 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 24

      06.12.2018 10:13:54.492 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 25

      06.12.2018 10:13:56.493 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 26

      06.12.2018 10:13:58.495 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 27

      06.12.2018 10:14:00.495 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 28

      06.12.2018 10:14:02.497 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 29

      06.12.2018 10:14:04.499 *INFO* [FelixDispatchQueue] org.apache.felix.framework Startup finished in 63810ms

      06.12.2018 10:14:04.502 *INFO* [FelixDispatchQueue] org.apache.felix.framework Service [Apache Sling Startup Service,24, [org.apache.sling.launchpad.api.StartupService]] ServiceEvent REGISTERED

      06.12.2018 10:14:04.523 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 30

       

       

      stdout file shows

      Loading quickstart properties: default

      Loading quickstart properties: instance

      Quickstart startup at Thu Dec 06 10:12:57 PST 2018

      UpgradeUtil.handleInstallAndUpgrade has mode INSTALL

      06.12.2018 10:13:00.648 *INFO * [main] Setting sling.home=C:\Users\v-rablad\Desktop\aem\crx-quickstart (command line)

      06.12.2018 10:13:00.650 *INFO * [main] Starting Apache Sling in C:\Users\v-rablad\Desktop\aem\crx-quickstart

      06.12.2018 10:13:00.652 *INFO * [main] Sling  Extension Lib Home : C:\Users\v-rablad\Desktop\aem\crx-quickstart\launchpad\ext

      06.12.2018 10:13:00.653 *INFO * [main] Checking launcher JAR in folder C:\Users\v-rablad\Desktop\aem\crx-quickstart\launchpad

      06.12.2018 10:13:00.676 *INFO * [main] Installing new launcher: jar:file:/C:/Users/v-rablad/Desktop/aem/crx-quickstart/app/cq-quickstart-6.4.0-standalone -quickstart.jar!/resources/org.apache.sling.launchpad.base.jar, 5.6.10.2_6_26 (org.apache.sling.launchpad.base.jar.1544119980674)

      06.12.2018 10:13:00.678 *INFO * [main] Loading launcher class org.apache.sling.launchpad.base.app.MainDelegate from org.apache.sling.launchpad.base.jar.1544119980674

      06.12.2018 10:13:00.678 *INFO * [main] External Libs Home (ext) is null or does not exists.

      06.12.2018 10:13:00.686 *INFO * [main] Setting sling.properties=conf/sling.properties

      06.12.2018 10:13:00.687 *INFO * [main] Setting sling.home=C:\Users\v-rablad\Desktop\aem\crx-quickstart

      06.12.2018 10:13:00.687 *INFO * [main] Setting sling.launchpad=C:\Users\v-rablad\Desktop\aem\crx-quickstart\launchpad

      06.12.2018 10:13:00.687 *INFO * [main] Setting org.osgi.service.http.port=4502

      06.12.2018 10:13:00.687 *INFO * [main] Starting launcher ...

      06.12.2018 10:13:00.692 *INFO * [main] HTTP server port: 4502

      06.12.2018 10:13:06.467 *INFO * [main] Startup completed

       

      when I go to 4502, I get

      This site can’t be reached

      localhost refused to connect.

       

      I never get a green on button, just a tiny bit of the white loading bar.