AEM 6.5, Service pack installed , getting error - HTTP ERROR 503 ServletResolver service missing, cannot service requests | Community
Skip to main content
December 23, 2023
Solved

AEM 6.5, Service pack installed , getting error - HTTP ERROR 503 ServletResolver service missing, cannot service requests

  • December 23, 2023
  • 5 replies
  • 1709 views

HI 
Please see below error i am getting while starting up my AEM 6.5 instance

Refer Screenshot

Command I am using to start - java -Xdebug -Xnoagent -Djava.compiler=NONE -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=30303 -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256M -Xmx4096m -Dorg.apache.sling.commons.log.level=INFO -jar aem-author-p4502.jar -p 4502 -verbose -nofork

Have tried these things but not worked for me 😞 -
deleted these -

crx-quickstart/repository/segmentstore/repo.lock

crx-quickstart/launchpad/felix/cache.lock

crx-quickstart/repository/index

crx-quickstart/launchpad/config/org/apache/sling/jcr/repoinit
Also, deleted repository folder under .m2 folder

 

Please find below error logs -


23.12.2023 18:55:20.765 *ERROR* [qtp192556687-70] org.apache.jackrabbit.oak.spi.security.authentication.external.impl.ExternalLoginModule No IDP found with name 0654f74c177ec80b60f7922a9a6195cf. Will not be used for login.
23.12.2023 18:55:20.770 *ERROR* [[0:0:0:0:0:0:0:1] [1703337920770] GET /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl ServletResolver service missing, cannot service requests , sending status 503
23.12.2023 18:55:20.793 *INFO* [qtp192556687-71] org.apache.sling.auth.core.impl.SlingAuthenticator getAnonymousResolver: Anonymous access not allowed by configuration - requesting credentials
23.12.2023 18:55:20.804 *ERR\OR* [qtp192556687-70] org.apache.jackrabbit.oak.spi.security.authentication.external.impl.ExternalLoginModule No IDP found with name 0654f74c177ec80b60f7922a9a6195cf. Will not be used for login.
23.12.2023 18:55:20.806 *ERROR* [[0:0:0:0:0:0:0:1] [1703337920806] GET /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl ServletResolver service missing, cannot service requests , sending status 503

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

Most likely your local server might be corrupted. Its less work to trash server and start over from scratch. 

This happens often if your aem server crashes abruptly. Before you signoff for day, mandatory you must shutdown aem server gracefully. Other symptoms, your service pack installation corrupted server. 

Dont hesitate to trash local server, spinup new server, deploy code and content. its 2-3 hrs work rather than fighting for days on unknown error. 

5 replies

Harwinder-singh
Community Advisor
Community Advisor
December 25, 2023

@sumansatija4  Check the status of bundles and see if any of the bundles is in installed state.

December 26, 2023

Hi @harwinder-singh  I am unable to open localhost:4502/system/console...because same screen appears.503 error one..

SivakumarKanoori
Community Advisor
Community Advisor
December 26, 2023

@sumansatija4 : Are you using any External login module to login to AEM(E.g:  LDAP authentication).

Go to http://localhost:4502/system/console/configMgr and search for "ExternalLoginModule" or "org.apache.jackrabbit.oak" and then edit the config to see what is set for any items you find. It sounds like you have an ExternalLoginModuleFactory configured to look for an LDAPIdentityProvider that hasn't been configured. 

 

 

Check if there is any values mentioned identity provider name. 

 

Thanks,

Siva

 

Thanks,Siva
December 26, 2023

Hi @sivakumarkanoori 
I am unable to open localhost:4502/system/console...because same screen appears.503 error one..Is there any other way to check same ?

aanchal-sikka
Community Advisor
Community Advisor
December 26, 2023

@sumansatija4 

 

Please check, if the following blogs help you

 

https://jordan-sheen.medium.com/authenticationsupport-service-missing-a5739c6794f1

https://cqdump.joerghoh.de/2022/03/17/how-to-analyze-authentication-support-missing/

 

Always assure following:

  • Shutdown your AEM properly. 
  • Before restarting, assure that AEM has stopped.
  • If upgrading to a new Service pack, always wait for it to install fully (logs should stabilize), before restarting AEM
Aanchal Sikka
saravana_sgwsAccepted solution
December 27, 2023

Most likely your local server might be corrupted. Its less work to trash server and start over from scratch. 

This happens often if your aem server crashes abruptly. Before you signoff for day, mandatory you must shutdown aem server gracefully. Other symptoms, your service pack installation corrupted server. 

Dont hesitate to trash local server, spinup new server, deploy code and content. its 2-3 hrs work rather than fighting for days on unknown error. 

kautuk_sahni
Community Manager
Community Manager
January 2, 2024

@sumansatija4 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni