Hi!
I am working with an author instance. I have a sdk file and I have created a new instance, without any content or additional configuration, it's an empty and clean instance. I restart it and it does not work again. 503 service unathorized error is thrown.
org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
I have not tried to fix repository or index because it does not have sense on an clean instance, but I do not understand which mistake breaks my instance.
Any suggestions?
Thanks!
Views
Replies
Total Likes
The 503 error Basically Indicates sling not able to connect to repository. It may be corruption Or last install broke it.
try these steps
try these and update us.
thanks
Thanks for your suggestions!!
It is a strange behavior. I have a clean instance with SDK version (2021.9.5852.20210917T073206Z-210800) and I have java 11.
I have created a mvn project with archetype and when I compile, my instance fails.
I have all bundles active, I have deleted index folder, but I can not start instance correctly again. It is a bit frustrating because everything is clean (project and instance) and when I compile, instance dead and I have to generate another.
Thanks!
do you see any error message in your error.logs file.? (located in quickstart/logs/error.logs file),
this might give us the reason for this issue.!
if not just delete your quickstart and do a fresh install
I see generic error "org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.".
My problem is how to identify what reason breaks my instance. I cannot create a instace per day, it is impossible to work like this. Mvn project and code are empty, created recently so it do not have sense this situation
Hi @ana_belen_cano_ ,
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-restart-issue-authenti...
Have a look at this since your fresh instance is also leading you to such errors.
However, I echo @Pavan_Kalyan 's thought to dig into ERROR logs and share the same if possible. Thanks.
503 service unathorized error may indicate a corrupt instance.
However if possible can you also try to switch to java 8 and see if same issue exists?
Hi! I can not use java 8, AEM as Cloud Service (my instance is a SDK file jar) requires at least Java 11 . Thanks for your suggestion!.
@ana_belen_cano_ Looks like repository is corrupted. Please change the ERROR log level to DEBUG and the tail the logs.
1. Check whether your Apache Sling Authentication Service Bundle is active or not (http://localhost:4502/system/console/bundles/)- if not active then try to activate it manually.
2. Stop the AEM instance - Go to folder crx-quickstart/repository/remove folder index -> Start the AEM
3. Go for a re-indexing - http://www.wemblog.com/2011/12/how-to-rebuild-index-in-cq5-wem.html"
4. Delete the file if exist -> /author/crx-quickstart/launchpad/felix/cache.lock
Regards,
Raja
Hello,
Finally I found what breaks my instance. When a project is created, there is a configuration file which when you restart instance breaks it.
Related info: github.com/adobe/aem-project-archetype/issues/852
Thanks all!
Views
Replies
Total Likes