I am facing the classic HTTP error 503 while restarting my AEM instance.
Error logs state the following
Possible reason is missing repository service. Check AuthenticationSupport dependencies
I have checked that my bundle "Apache Sling Authentication Service (org.apache.sling.auth.core)" is active
I have followed the steps mentioned in this post
I have given the instance a good one hour to start completely
None of the above steps helped fix my issue.
Please suggest any methods you're aware of to troubleshoot this issue. I'm so stuck.
Please check all the available existing error.log files(logs rotated with previous days) in your local instance before you get to notice the exact log statement - "AuthenticationSupport service missing".
Share the initial statement that logged as "Error" level.
Recently ran into the issue in one of my local instance and the original/initial cause was Java Heap Space (java.lang.OutOfMemoryError: Java heap space) which then eventually lead to "AuthenticationSupport service missing" - While setting up the new instance, I missed to configure the JVM options in start.bat and was using the default one.
Hi @apoorva_arza ,
Try to delete below 2 files and restart the instance:
If this also don't work, try deleting the index folder and restarting again, which will build your indexes again and might take some time to start.
I did not do anything, just deleted below file and it works.