Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

Issue in while launching AEM

Avatar

Level 3

Hi Team,

I am facing issue while luanching AEM, initially i was starting my local AEM by double clicking the jar file but it didn't started. Then i followed command line process and first unpack the jar file. It unpacked successfully and crx-quickstart folder created. Then went to bin folder and clicked start.bat file.

The command is running since 1 hr but it didn't launched the AEM till

Also when i thought o look for error log then it was not showing any entry for today.

Not sure what mistake i am doing. Can anyone pls help here.

skumari_0-1687801630447.png

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

 

The issue of AEM not launching can be caused by various factors, including:

  1. Conflicting processes: Other applications or processes running on the system might be using the required ports or resources, preventing AEM from starting.
  2. Insufficient system resources: AEM requires sufficient memory, CPU, and disk space to run properly. If your system does not meet the minimum requirements, it can lead to startup failures.
  3. Corrupted installation files: If the AEM installation files are corrupted or incomplete, it can prevent the proper startup of the application.
  4. Incorrect permissions: Insufficient permissions or incorrect ownership of files and directories can hinder AEM's startup process.

To resolve the issue of AEM not launching, please do consider the following:

  1. Make sure there are no conflicting processes or applications running that could interfere with AEM's startup.
  2. Check if your system meets the minimum requirements for running AEM, including the required Java version.
  3. Verify that the AEM installation files are not corrupted. Try reinstalling or repairing the installation.
  4. Ensure that the startup scripts or batch files are executed with the necessary permissions.

View solution in original post

7 Replies

Avatar

Community Advisor

Hello @skumari - 

 

  • Ensure that your system meets the minimum requirements for running AEM. Verify the supported Java version, available memory, and disk space.

  • Make sure you have Java installed on your system and the JAVA_HOME environment variable is correctly set. You can do this by running java -version in the command prompt or terminal to check the installed Java version.

  • Check the error.log file for any error messages that might indicate the cause of the issue.

  • Ensure that the default port (4502 for author instance) is not being used by any other application/AEM instance on your machine. If the port is already in use, you can try changing the port in that case.

  • If the startup process gets stuck or takes an unusually long time, it might help to clean the repository by deleting the crx-quickstart/repository directory and then restarting AEM. Note that this will remove all the existing data in the repository, so make sure to back up any important content or configurations before proceeding.

  • If none of the above steps resolve the issue, you can try reinstalling AEM from scratch. Download a fresh copy of the AEM package, extract it, and follow the installation instructions provided by Adobe.

Avatar

Correct answer by
Employee Advisor

Hi,

 

The issue of AEM not launching can be caused by various factors, including:

  1. Conflicting processes: Other applications or processes running on the system might be using the required ports or resources, preventing AEM from starting.
  2. Insufficient system resources: AEM requires sufficient memory, CPU, and disk space to run properly. If your system does not meet the minimum requirements, it can lead to startup failures.
  3. Corrupted installation files: If the AEM installation files are corrupted or incomplete, it can prevent the proper startup of the application.
  4. Incorrect permissions: Insufficient permissions or incorrect ownership of files and directories can hinder AEM's startup process.

To resolve the issue of AEM not launching, please do consider the following:

  1. Make sure there are no conflicting processes or applications running that could interfere with AEM's startup.
  2. Check if your system meets the minimum requirements for running AEM, including the required Java version.
  3. Verify that the AEM installation files are not corrupted. Try reinstalling or repairing the installation.
  4. Ensure that the startup scripts or batch files are executed with the necessary permissions.

Avatar

Community Advisor

@skumari It seems esapi.properties file is missing or not loaded properly while launching the AEM as result esapi bundle is not started.
Can you check your configurations.

 

Regards,

Raja

Avatar

Community Advisor

@skumari ,

 

Not sure if the issue is solved, but couple of points to remember:

1) When starting AEM jar for the 1st time, it takes around 15-20 mins based on the system configuration to complete the unpacking and setup.

2) If you start the AEM by double clicking the jar file or using the quickstart.bat, the AEM launches the browser after the startup is complete and you to login at http://localhost:4502/

3) If you start the AEM using the start.bat file, AEM doesn't launch the browser after the startup is complete. You need to check the logs and log-in into AEM author by accessing http://localhost:4502 in the browser.

4) The AEM shuts down automatically if you close the command prompt window which was launched by double clicking the start.bat.

 

Hope these points help.

 

Thanks,

Sudheer.

Avatar

Level 3

Hi @Sudheer_Sundalam 

Thanks for the detailed information!

Issue has been resolved by following below steps:-

 Freshly installation of AEM

 Unpacked the jar files with command "java -jar aem-author-4502.jar -unpack".

 Clicked start.bat file inside crx-quickstart/bin folder

 Hit http://localhost:4502 in browser.