コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

AEM WKND SPA - 503

Avatar

Level 2

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.

トピック

トピックはコミュニティのコンテンツの分類に役立ち、関連コンテンツを発見する可能性を広げます。

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

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!

元の投稿で解決策を見る

9 返信

Avatar

Level 6

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.

Avatar

Level 2
I originally tried it with Java 11, and it gave me the same results.

Avatar

正解者
Community Advisor

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!

Avatar

Level 2
Right now, our company only has access to the 6.5.5 service pack so updating it to 6.5.8 may not be a viable solution.

Avatar

Level 2

I was given the 6.5.8 service pack, and that did fixed the solution.
I also switched to Java 11.

Avatar

Community Advisor
Sounds good!

Avatar

Level 10

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

Level 2
I updated my question with something I found in the error logs.

Avatar

Level 10

Hi @jeremy_trpka-pe,

Thanks for sharing the details.  com.day.cq.wcm.api is available as part of Uber-jar and no need to mention explicitly. Try using classic profile(-Pclassic) along with autoInstallPackage profile for building WKND SPA project. 

But for 503 issue, did you get a chance to check previous day logs like say 09 June / 08 June ..