Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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

Refer Screenshot

SumanSatija4_0-1703338634556.png

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

1 Accepted Solution

Avatar

Correct answer by
Level 3

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. 

View solution in original post

7 Replies

Avatar

Community Advisor

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

Avatar

Level 2

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

Avatar

Community Advisor

@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. 

 

SivakumarKanoori_0-1703562177655.png

 

Check if there is any values mentioned identity provider name. 

 

Thanks,

Siva

 

Thanks,
Siva

Avatar

Level 2

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 ?

Avatar

Community Advisor

@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

Avatar

Correct answer by
Level 3

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. 

Avatar

Administrator

@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