Internal Server Error Exception: java.lang.NullPointerException - AEM 6.3 | Community
Skip to main content
prashantbhrgv
New Participant
November 20, 2017
Solved

Internal Server Error Exception: java.lang.NullPointerException - AEM 6.3

  • November 20, 2017
  • 3 replies
  • 2628 views

Hi,

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

I'm trying to run AEM server on Amazon EC2 instance using the following command:

java -XX:MaxPermSize=512mm -Xmx1604M -jar AEM_6.3_Quickstart.jar

On trying to open the link I get following error:

Internal Server Error

Cannot serve request to /libs/granite/core/content/login.html in /libs/granite/core/components/login/login.jsp

Exception:

java.lang.NullPointerException

I'm not really sure, how to solve this problem. I'd really appreaciate If anyone could shed light or
explain about solving this issue.

Thanks.
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

We do not have documentation for your case. But really the concept here is:

1. Install Apache HTTP server

2. Install JAVA

3. Make sure ports are open

4. Configure Dispatcher

5. Place JAR and license files at root user's home directory and Setup author and publish instance

You need to adapt these script as per your environment.

3 replies

kautuk_sahni
kautuk_sahniAccepted solution
Employee
November 23, 2017

We do not have documentation for your case. But really the concept here is:

1. Install Apache HTTP server

2. Install JAVA

3. Make sure ports are open

4. Configure Dispatcher

5. Place JAR and license files at root user's home directory and Setup author and publish instance

You need to adapt these script as per your environment.

Kautuk Sahni
prashantbhrgv
New Participant
November 23, 2017

Hi. Thanks for replying.

I'm running trying to run AEM on Ubuntu (EC2). The instructions that you've referred to is only for centos/fedora.  I can't really use the provided script.

Thanks again!

kautuk_sahni
Employee
November 20, 2017

This is old article but you can take some references from this How to deploy AEM in Amazon EC2

And Community article Configuring Dispatcher, Author and Publish Instance of Adobe Experience Manager (AEM) | TO THE NEW Blog

~kautuk

Kautuk Sahni