Expand my Community achievements bar.

SOLVED

AEM 6.x - STARTUP FAILED

Avatar

Level 3

Dear all,

I'm unable to start on my aem instance.

Every time I run my aen instance the main aem window is displayed and the loading cursor remain fixed. It seems to be blocked so I have to kill it via task manager or close button.Always.

What is happening is showed in the below screenshot.

Any idea ?

Thanks all

BR,

Antonio

1766403_pastedImage_0.png

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hello,

There could be several reasons behind these. Please check them in following order

1) Shutdown the current startup process.

2) Ensure that a supported version of Java is installed per the Technical Requirements page and this Java version is set in the environment variables appropriately.

3) While this should be the case, but please verify if port 4503 is free by running netstat -an | find "4503".

4) Ensure you have enough disk space/RAM available.

5) After the basic checks above, please check the logs in crx-quickstart/logs directory. The logs most helpful for this issue would be the stdout.log, stderr.log and error.log file. Please look for any errors in these files.

Thank you,

Aneet Arora

View solution in original post

5 Replies

Avatar

Correct answer by
Level 5

Hello,

There could be several reasons behind these. Please check them in following order

1) Shutdown the current startup process.

2) Ensure that a supported version of Java is installed per the Technical Requirements page and this Java version is set in the environment variables appropriately.

3) While this should be the case, but please verify if port 4503 is free by running netstat -an | find "4503".

4) Ensure you have enough disk space/RAM available.

5) After the basic checks above, please check the logs in crx-quickstart/logs directory. The logs most helpful for this issue would be the stdout.log, stderr.log and error.log file. Please look for any errors in these files.

Thank you,

Aneet Arora

Avatar

Level 3

Dear all,

as you could see in the below screenshots my requisities are satisfied.

While starting Aem 6.4 ( or 6.1 ) instance I'm obtaining always the same issue.

Here below error.log file that shows an error with sling installer.

Any help will be welcome.

Thanks

BR,

Antonio

1766674_pastedImage_1.png

1766673_pastedImage_0.png

ERROR.LOG FILE CONTENT

06.06.2019 09:05:42.167 *INFO* [FelixStartLevel] org.apache.sling.commons.log.logback.internal.Activator LogbackManager initialized at bundle startup

06.06.2019 09:05:42.183 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice Service [org.apache.sling.commons.logservice.internal.LogServiceFactory,18, [org.osgi.service.log.LogService]] ServiceEvent REGISTERED

06.06.2019 09:05:42.183 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice Service [org.apache.sling.commons.logservice.internal.LogReaderServiceFactory,19, [org.osgi.service.log.LogReaderService]] ServiceEvent REGISTERED

06.06.2019 09:05:42.183 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice BundleEvent STARTED

06.06.2019 09:05:42.183 *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)

06.06.2019 09:05:42.183 *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)

06.06.2019 09:05:42.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)

06.06.2019 09:05:42.198 *INFO* [FelixStartLevel] org.apache.sling.javax.activation BundleEvent RESOLVED

06.06.2019 09:05:42.198 *INFO* [FelixStartLevel] org.apache.sling.javax.activation BundleEvent STARTING

06.06.2019 09:05:42.198 *INFO* [FelixStartLevel] org.apache.sling.javax.activation BundleEvent STARTED

06.06.2019 09:05:42.198 *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)

06.06.2019 09:05:42.214 *INFO* [FelixStartLevel] org.apache.sling.settings BundleEvent RESOLVED

06.06.2019 09:05:42.214 *INFO* [FelixStartLevel] org.apache.sling.settings BundleEvent STARTING

06.06.2019 09:05:42.214 *INFO* [FelixStartLevel] org.apache.sling.settings.impl.SlingSettingsServiceImpl Read Sling ID null from file C:\AOL_SKY\AEM_6_4\Author\crx-quickstart\launchpad\felix\bundle17\data\sling.id.file

06.06.2019 09:05:42.214 *INFO* [FelixStartLevel] org.apache.sling.settings.impl.SlingSettingsServiceImpl Created new Sling ID 85fe43c3-78cc-4a5f-8cce-926b396b509c

06.06.2019 09:05:42.229 *INFO* [FelixStartLevel] org.apache.sling.settings.impl.SlingSettingsServiceImpl Active run modes: [s7connect, crx3, author, samplecontent, crx3tar]

06.06.2019 09:05:42.229 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Settings Service,20, [org.apache.sling.settings.SlingSettingsService]] ServiceEvent REGISTERED

06.06.2019 09:05:42.229 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Sling Properties Configuration Printer,21, [org.apache.sling.settings.impl.SlingPropertiesPrinter]] ServiceEvent REGISTERED

06.06.2019 09:05:42.229 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Sling Settings Configuration Printer,22, [org.apache.sling.settings.impl.SlingSettingsPrinter]] ServiceEvent REGISTERED

06.06.2019 09:05:42.245 *INFO* [FelixStartLevel] org.apache.sling.settings Service [org.apache.sling.settings.impl.SlingSettingsServiceImpl,23, [org.osgi.service.cm.ManagedService]] ServiceEvent REGISTERED

06.06.2019 09:05:42.245 *INFO* [FelixStartLevel] org.apache.sling.settings BundleEvent STARTED

06.06.2019 09:05:42.245 *INFO* [FelixStartLevel] slf4j.api BundleEvent STARTING

06.06.2019 09:05:42.245 *INFO* [FelixStartLevel] slf4j.api BundleEvent STARTED

06.06.2019 09:05:42.245 *INFO* [main] org.apache.felix.framework BundleEvent STARTED

06.06.2019 09:05:42.245 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTED

06.06.2019 09:05:44.248 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 2

06.06.2019 09:05:46.258 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 3

06.06.2019 09:05:48.268 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 4

06.06.2019 09:05:50.283 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 5

06.06.2019 09:05:52.293 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 6

06.06.2019 09:05:54.303 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 7

06.06.2019 09:05:56.307 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 8

06.06.2019 09:05:58.313 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 9

06.06.2019 09:06:00.323 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 10

06.06.2019 09:06:02.333 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 11

06.06.2019 09:06:04.348 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 12

06.06.2019 09:06:06.358 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 13

06.06.2019 09:06:08.368 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 14

06.06.2019 09:06:10.379 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 15

06.06.2019 09:06:12.394 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 16

06.06.2019 09:06:14.409 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 17

06.06.2019 09:06:16.424 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 18

06.06.2019 09:06:18.439 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 19

06.06.2019 09:06:20.439 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 20

06.06.2019 09:06:22.454 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 21

06.06.2019 09:06:24.469 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 22

06.06.2019 09:06:26.484 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 23

06.06.2019 09:06:28.499 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 24

06.06.2019 09:06:30.514 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 25

06.06.2019 09:06:32.525 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 26

06.06.2019 09:06:34.540 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 27

06.06.2019 09:06:36.555 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 28

06.06.2019 09:06:38.570 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 29

06.06.2019 09:06:40.571 *INFO* [FelixDispatchQueue] org.apache.felix.framework Startup finished in 59680ms

06.06.2019 09:06:40.573 *INFO* [FelixDispatchQueue] org.apache.felix.framework Service [Apache Sling Startup Service,24, [org.apache.sling.launchpad.api.StartupService]] ServiceEvent REGISTERED

06.06.2019 09:06:40.575 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent STARTLEVEL CHANGED to 30

06.06.2019 09:15:44.356 *INFO* [FelixShutdown] org.apache.felix.framework BundleEvent STOPPING

06.06.2019 09:15:44.356 *INFO* [FelixStartLevel] slf4j.api BundleEvent STOPPING

06.06.2019 09:15:44.357 *INFO* [FelixStartLevel] slf4j.api BundleEvent STOPPED

06.06.2019 09:15:44.357 *INFO* [FelixStartLevel] org.apache.sling.settings BundleEvent STOPPING

06.06.2019 09:15:44.358 *INFO* [FelixStartLevel] org.apache.sling.settings Service [org.apache.sling.settings.impl.SlingSettingsServiceImpl,23, [org.osgi.service.cm.ManagedService]] ServiceEvent UNREGISTERING

06.06.2019 09:15:44.359 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Settings Service,20, [org.apache.sling.settings.SlingSettingsService]] ServiceEvent UNREGISTERING

06.06.2019 09:15:44.360 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Sling Settings Configuration Printer,22, [org.apache.sling.settings.impl.SlingSettingsPrinter]] ServiceEvent UNREGISTERING

06.06.2019 09:15:44.360 *INFO* [FelixStartLevel] org.apache.sling.settings Service [Apache Sling Sling Properties Configuration Printer,21, [org.apache.sling.settings.impl.SlingPropertiesPrinter]] ServiceEvent UNREGISTERING

06.06.2019 09:15:44.361 *INFO* [FelixStartLevel] org.apache.sling.settings BundleEvent STOPPED

06.06.2019 09:15:44.361 *INFO* [FelixStartLevel] org.apache.sling.javax.activation BundleEvent STOPPING

06.06.2019 09:15:44.361 *INFO* [FelixStartLevel] org.apache.sling.javax.activation BundleEvent STOPPED

06.06.2019 09:15:44.361 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice BundleEvent STOPPING

Avatar

Community Advisor

Hi Antonio,

Looks like (osgi.wiring.package=javax.annotation) is not found, which seems to be a problem with java installed on the machine.

Can you try to run aem from cmd instead of double clicking on the jar?

Do you get same result if you call "java -jar aem-publish-p4503.jar" ?

Regards,

Peter

Avatar

Level 3

Hi Peter,

same issue running aem 6.4 instance via command line as by your suggestion.

Thank

Antonio

Avatar

Level 3

Hello guys,

issue resolved.

Corrupted Java installation caused the same issue.

Thanks all

BR,

A