Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

HTTP ERROR:404 - AEM 6.3

Avatar

Level 2

Hi,

I'm Prashant Bhargava. I've just got started with AEM 6.3

After running the jar file from the command line I get following errors:

On accessing root:

HTTP ERROR: 404

Problem accessing /. Reason:

    Not Found

On accessing /crx/de/index.jsp:

HTTP ERROR: 404

Problem accessing /crx/de/index.jsp. Reason:

    Not Foundd

What could be the reason for these problems? I'd really appreciate If anyone could shed some light and explain about this issue.

Thanks

Prashant

1 Accepted Solution

Avatar

Correct answer by
Administrator

You can look ta the progress bar at

1356655_pastedImage_1.png

You need to wait for this to get get completed. First time it could take 5-10 minutes as well.

And

Use this command :

java -Xms4096m -Xmx4096m -XX:MaxPermSize=512m -jar AEM_6.3_Quickstart.jar -nofork [If your command is not working, use MAX RAM size]

Reference Must read posts:-

insufficent heap memory error with cq6-author-4502.jar on 8GB RAM physical machine

trying to install  CQ author instance ?

Installing / Starting AEM aka CQ



Kautuk Sahni

View solution in original post

6 Replies

Avatar

Level 10

1. Was the jar extracted completely?

2. Java version?

3. what do you see in error.log?

Avatar

Level 10

MAke sure you are following all instructions here: Command Line Start and Stop

Avatar

Level 2

Hi. Thanks for your reply. I did follow these steps. However, still get that issue.

Avatar

Level 2

Hi. Thanks for replying.

1. Was the jar extracted completely?

Ans: I used the following command:

                    java -XX:MaxPermSize=256m -Xmx2024M -jar AEM_6.3_Quickstart.jar

          This results in creating crx-quickstart directory. However, I'm not sure If it has been extracted completely.

2. Java version?

Ans:

          java version "1.8.0_151"

          Java(TM) SE Runtime Environment (build 1.8.0_151-b12)

          Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)

3. what do you see in error.log?

Ans:

Low-memory action set to fork

Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork arguments=[-Xmx1024m, -XX:MaxPermSize=256m]

The JVM reports a heap size of 1956 MB, meets our expectation of 1024 MB +/- 20

Setting properties from filename '/home/ubuntu/aem/AEM_6.3_Quickstart.jar'

Verbose option not active, closing stdin and redirecting stdout and stderr

Redirecting stdout to /home/ubuntu/aem/crx-quickstart/logs/stdout.log

Redirecting stderr to /home/ubuntu/aem/crx-quickstart/logs/stderr.log

ResourceProvider paths=[/gui, /gui/default]

Avatar

Correct answer by
Administrator

You can look ta the progress bar at

1356655_pastedImage_1.png

You need to wait for this to get get completed. First time it could take 5-10 minutes as well.

And

Use this command :

java -Xms4096m -Xmx4096m -XX:MaxPermSize=512m -jar AEM_6.3_Quickstart.jar -nofork [If your command is not working, use MAX RAM size]

Reference Must read posts:-

insufficent heap memory error with cq6-author-4502.jar on 8GB RAM physical machine

trying to install  CQ author instance ?

Installing / Starting AEM aka CQ



Kautuk Sahni

Avatar

Level 10

I see you haven't mentioned the port number, in this case AEM will try to pick any of the default available ports.

port number as follows: 4502, 8080, 8081, 8082, 8083, 8084, 8085, 8888, 9362, <random>

Custom Standalone Install

How are you trying to access the aem, can you share the URL?

I would say force the port number for now with jar name as cq-author-p4502.jar or use -p with port number in the same command

use the same command with an updated file name and after 5-10 mins (depends on CPU resource), access host:4502