HTTP ERROR:404 - AEM 6.3 | Community
Skip to main content
prashantbhrgv
Level 2
November 21, 2017
Solved

HTTP ERROR:404 - AEM 6.3

  • November 21, 2017
  • 6 replies
  • 9432 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

You can look ta the progress bar at

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

6 replies

edubey
Level 10
November 21, 2017

1. Was the jar extracted completely?

2. Java version?

3. what do you see in error.log?

smacdonald2008
Level 10
November 21, 2017

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

prashantbhrgv
Level 2
November 23, 2017

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

prashantbhrgv
Level 2
November 23, 2017

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]

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
November 23, 2017

You can look ta the progress bar at

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
edubey
Level 10
November 23, 2017

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