Hello Adobe Community,
I’m currently trying to set up my local environment using the AEM SDK version aem-sdk-2023.12 for practice purposes.
However, I'm encountering some issues:
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @RohitKu17
Can you check the java version?
try to allow warnings with below flag when you start aem using jar
--illegal-access=permit
Hi @RohitKu17,
the most important thing is to ensure that you always gracefully shut down your AEM instance like explained here: https://aemgeeks.wordpress.com/2017/08/24/starting-and-stopping-aem-instance/
Then you should be able to start it again with no issues.
Hope it helps,
Daniel
Hi,
In addition to what @daniel-strmecki mentioned, please run the latest version of the AEM SDK. You could likely encounter issues with older versions, especially if you are installing custom code. Also, could you elaborate on the errors you are seeing when you try to run AEM the second time?
Please let me know which one is the latest version used by You and others
It start and then exits automatically
It start and then exits automatically
@RohitKu17 so what do you see in the logs? error.log and stdout.log? You can find the latest version of AEM here: https://experience.adobe.com/#/downloads/content/software-distribution/en/aemcloud.html . Can you add the -v into your start command, this will input more info in the console.
Hi @RohitKu17,
The best resource to setup AEM Local SDK is Set up local AEM SDK
Can you share the error logs when you try to fire up the instance the second time - Does deleting the crx-quickstart folder and running the java-jar arm-author-p4502.jar work for you?
Please note You cannot start the AEM as Cloud Service Quickstart Jar by double-clicking.
Hope this helps!
Rohan Garg
Yes, it is working. But do I have to delete that folder every time before I start the instance a second time?
Thanks for answering
Hi @RohitKu17 ,
We don't need to delete crx-quickstart every time unless instance get corrupt.
If its started well and working fine.
One approach can be just double click on start.bat file (for windows) or run ./start(linux) and stop.bat file or ./stop command to stop from next time
These files are present in /crx-quickstart/bin folder
We can even edit start file to setup/change parameters like port number or run modes.
Thanks,
Hi @RohitKu17
Can you check the java version?
try to allow warnings with below flag when you start aem using jar
--illegal-access=permit
Can you post the error.log when you fire up the instance the second time?
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies