Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Local AEM instance won't start (500 error)

Avatar

Avatar
Ignite 3
Level 4
Codelime
Level 4

Likes

45 likes

Total Posts

59 posts

Correct Reply

0 solutions
Top badges earned
Ignite 3
Boost 25
Applaud 5
Give Back 25
Validate 1
View profile

Avatar
Ignite 3
Level 4
Codelime
Level 4

Likes

45 likes

Total Posts

59 posts

Correct Reply

0 solutions
Top badges earned
Ignite 3
Boost 25
Applaud 5
Give Back 25
Validate 1
View profile
Codelime
Level 4

04-05-2021

My local AEM instance has been working fine, but suddenly won't start. I restarted Docker, restarted my PC, updated and restarted Docker again, but I get HTTP ERROR 500:

 

localhost is currently unable to handle this request.

HTTP ERROR 500
 
I have Docker v20.10.5 running with aemdesign/aem started. CRXDE Lite opens but it's blank. Any ideas on what could be the cause?

Replies

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

385 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

385 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

04-05-2021

Check the error.log file for errors. Also, Make sure the underlying Java version was not changed

Avatar

Avatar
Ignite 3
Level 4
Codelime
Level 4

Likes

45 likes

Total Posts

59 posts

Correct Reply

0 solutions
Top badges earned
Ignite 3
Boost 25
Applaud 5
Give Back 25
Validate 1
View profile

Avatar
Ignite 3
Level 4
Codelime
Level 4

Likes

45 likes

Total Posts

59 posts

Correct Reply

0 solutions
Top badges earned
Ignite 3
Boost 25
Applaud 5
Give Back 25
Validate 1
View profile
Codelime
Level 4

04-05-2021

Thanks for the reply. Where do I find the error.log file? Java should not have changed.

Avatar

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

433 likes

Total Posts

532 posts

Correct Reply

147 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

433 likes

Total Posts

532 posts

Correct Reply

147 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
Level 10

04-05-2021

Hi @Codelime 

 

Please check for the errors in error.log located at aem location /crx-quickstart/logs/error.log

Also which version of AEM you are running and what is the Java version?

Have you done any change to any of the code and deployed which broke the system or this just happened all of sudden?

 

It will be in the file system where your AEM binary is installed and running.

If you still don't fine then try the below URL and check:

http://localhost:4502/system/console/slinglog/tailer.txt?tail=10000&grep=*&name=%2Flogs%2Ferror.log

 

Hi @Codelime 

 

Please navigate to http://localhost:4502/system/console/status-slingsettings
and check for Sling Home URL property which will give you the location of the AEM installation.

 

Navigate to the crx-quickstart/conf folder from the above location i.e. the AEM installation location and look for sling.properties file.

In the sling.properties file look for sling.bootdelegation.sun=sun.*,com.sun.*
and replace it with sling.bootdelegation.sun=sun.*,com.sun.*,jdk.internal.reflect,jdk.internal.reflect.*

 

Restart the instance. Your instance should be back up and running.

 

Hope this helps!

 

Thanks

Avatar

Avatar
Ignite 3
Level 4
Codelime
Level 4

Likes

45 likes

Total Posts

59 posts

Correct Reply

0 solutions
Top badges earned
Ignite 3
Boost 25
Applaud 5
Give Back 25
Validate 1
View profile

Avatar
Ignite 3
Level 4
Codelime
Level 4

Likes

45 likes

Total Posts

59 posts

Correct Reply

0 solutions
Top badges earned
Ignite 3
Boost 25
Applaud 5
Give Back 25
Validate 1
View profile
Codelime
Level 4

04-05-2021

I don't see an error log file when I navigate here: http://localhost:4502/crx/de/index.jsp#/crx-quickstart/logs/error.log

Avatar

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

433 likes

Total Posts

532 posts

Correct Reply

147 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

433 likes

Total Posts

532 posts

Correct Reply

147 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
Level 10

04-05-2021

It will be available in you aem installation location in file system followed by /crx-quickstart/logs/error.log

Avatar

Avatar
Ignite 3
Level 4
Codelime
Level 4

Likes

45 likes

Total Posts

59 posts

Correct Reply

0 solutions
Top badges earned
Ignite 3
Boost 25
Applaud 5
Give Back 25
Validate 1
View profile

Avatar
Ignite 3
Level 4
Codelime
Level 4

Likes

45 likes

Total Posts

59 posts

Correct Reply

0 solutions
Top badges earned
Ignite 3
Boost 25
Applaud 5
Give Back 25
Validate 1
View profile
Codelime
Level 4

04-05-2021

I don't see an error log.

Codelime_0-1620138420272.png

 

Avatar

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

433 likes

Total Posts

532 posts

Correct Reply

147 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

433 likes

Total Posts

532 posts

Correct Reply

147 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
Level 10

04-05-2021

Hi @Codelime 

It is not in crx/de. It will be in the file system where your AEM binary is installed and running.

If you still don't fine then try the below URL and check:

http://localhost:4502/system/console/slinglog/tailer.txt?tail=10000&grep=*&name=%2Flogs%2Ferror.log

 

Thanks!

Avatar

Avatar
Ignite 3
Level 4
Codelime
Level 4

Likes

45 likes

Total Posts

59 posts

Correct Reply

0 solutions
Top badges earned
Ignite 3
Boost 25
Applaud 5
Give Back 25
Validate 1
View profile

Avatar
Ignite 3
Level 4
Codelime
Level 4

Likes

45 likes

Total Posts

59 posts

Correct Reply

0 solutions
Top badges earned
Ignite 3
Boost 25
Applaud 5
Give Back 25
Validate 1
View profile
Codelime
Level 4

04-05-2021

I tried that URL earlier, but get a blank screen.

 

Codelime_0-1620139182432.png

 

Avatar

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

433 likes

Total Posts

532 posts

Correct Reply

147 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

433 likes

Total Posts

532 posts

Correct Reply

147 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
Level 10

04-05-2021

Do you see all the bundles in active state here?

http://localhost:4502/system/console/bundles