AEM instance repository getting corrupted after archetype 39 code deployment
Hi,
I generated code from latest archetype and deployed to aem. When I am restarting the AEM server , getting below error
HTTP ERROR 503 Problem accessing /. Reason:
AuthenticationSupport service missing. Cannot authenticate request.
Step to preproduce
- Start Vanilla/New instance AEM 6.5 instance
- Update AEM service pack 6.5.13 (This is an optional step)
- Created a project code base by running below command mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=39 -D appTitle="AEM Mysite" -D appId="aem-mysite" -D groupId="com.aem.mysite" -D aemVersion="6.5.0" -D includeDispatcherConfig=n -D includeExamples=n
- Deploy the code to AEM
- Stop the instance.
- Start the instance again. Authentication error will occur at this step.
This is very strange issue.
Note that this issue is occurring for other archetype as well such asarchetype-34