Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM WKND SPA - 503

Avatar

Avatar
Validate 1
Level 1
jeremy_trpka-pe
Level 1

Like

1 like

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
jeremy_trpka-pe
Level 1

Like

1 like

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
jeremy_trpka-pe
Level 1

10-06-2021

Hello,

I wanted to try the WKND SPA Tutorial, and running AEM off of the following:

  • Java 8
  • AEM 6.5.5
  • Maven 6.3.6
  • Archetype 27

I started off with a clean author instance with the service pack installed, and when I first perform the mvn clean install -PautoInstallSinglePackage it would build fine, until...

I turn off the AEM instance and then turn it back on, and then I get the following:

 

HTTP ERROR 503 AuthenticationSupport service missing. Cannot authenticate request.
URI:	/
STATUS:	503
MESSAGE:	AuthenticationSupport service missing. Cannot authenticate request.
SERVLET:	org.apache.felix.http.base.internal.dispatch.DispatcherServlet-6aacc3

 

EDITED 2021-06-11

I did find this error in the logs:

 

10.06.2021 14:48:18.089 *ERROR* [FelixDispatchQueue] aem-guides-wknd-spa.react.core FrameworkEvent ERROR (org.osgi.framework.BundleException: Unable to resolve aem-guides-wknd-spa.react.core [596](R 596.0): missing requirement [aem-guides-wknd-spa.react.core [596](R 596.0)] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.wcm.api)(version>=1.29.0)(!(version>=2.0.0))) Unresolved requirements: [[aem-guides-wknd-spa.react.core [596](R 596.0)] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.wcm.api)(version>=1.29.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve aem-guides-wknd-spa.react.core [596](R 596.0): missing requirement [aem-guides-wknd-spa.react.core [596](R 596.0)] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.wcm.api)(version>=1.29.0)(!(version>=2.0.0))) Unresolved requirements: [[aem-guides-wknd-spa.react.core [596](R 596.0)] osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.wcm.api)(version>=1.29.0)(!(version>=2.0.0)))]
	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
	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:834)

 

When I tried to install com.day.cq.wcm.api package directly in the root pom file it will not install let alone fix the situation.

AEM React JS SPA wknd

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

544 likes

Total Posts

663 posts

Correct Reply

190 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

544 likes

Total Posts

663 posts

Correct Reply

190 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile
asutosh_jena
Level 10

10-06-2021

Hi @jeremy_trpka-pe 

 

Please upgrade the AEM service pack to 6.5.8.0 and validate. You should not be getting these issue any more.

Also it's preferred to run AEM 6.5 with JDK 11.

https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/development/set-up-a-loc...

 

Thanks!

Answers (2)

Answers (2)

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

500 likes

Total Posts

637 posts

Correct Reply

211 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

500 likes

Total Posts

637 posts

Correct Reply

211 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
Vijayalakshmi_S
MVP

11-06-2021

Hi @jeremy_trpka-pe,

Please check the error.log file completely including the rotated error.log files with previous dates (continue till you notice a file without any Error level) to arrive at the original cause. 

"503 AuthenticationSupport service missing" error has quite a few related reasons to it, hence the need for digging completely. 

Update this thread with the same if possible. 

Avatar

Avatar
Boost 10
Level 2
ibishika
Level 2

Likes

12 likes

Total Posts

13 posts

Correct Reply

1 solution
Top badges earned
Boost 10
Boost 5
Give Back
Applaud 5
Boost 3
View profile

Avatar
Boost 10
Level 2
ibishika
Level 2

Likes

12 likes

Total Posts

13 posts

Correct Reply

1 solution
Top badges earned
Boost 10
Boost 5
Give Back
Applaud 5
Boost 3
View profile
ibishika
Level 2

10-06-2021

Java 11 is the recommended version for AEM 6.5. Also I would suggest you to give some time to the instance to come up and after that if it does not work, check the logs for error.