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.
Views
Replies
Total Likes
Check the error.log file for errors. Also, Make sure the underlying Java version was not changed
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
I don't see an error log file when I navigate here: http://localhost:4502/crx/de/index.jsp#/crx-quickstart/logs/error.log
It will be available in you aem installation location in file system followed by /crx-quickstart/logs/error.log
I don't see an error log.
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!
I tried that URL earlier, but get a blank screen.
Do you see all the bundles in active state here?
http://localhost:4502/system/console/bundles
Yes, all the bundles are active here: http://localhost:4502/system/console/bundles
java version "11.0.10" 2021-01-19 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.10+8-LTS-162)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.10+8-LTS-162, mixed mode)
Docker version 20.10.5, build 55c4c88
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\opt\apache-maven-3.6.3\bin\..
Java version: 11.0.10, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.10
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
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!
I have this URL bookmarked, which I've always been able to access, but now I get a blank screen:
I navigated to http://localhost:4502/system/console/status-slingsettings
But I get page not found when I go to http://localhost:4502/aem/crx-quickstart/
I found this:
What's the recommended way to edit this file?
My process for starting local AEM:
I'm looking for the jar file. Would the jar file be named something specific for our project?
Hi @Codelime
Check the docker-compose.yaml or docker command which launched the container to see if a drive was mounted in a specific way.
See if you have something like:
C:\opt\aem\author\crx-quickstart
or may be like:
C:\opt\cq
Else you need to check with the person who has setup the AEM instance for you to identify the location.
I hope you have checked this page-
There could be a lot of reasons for this.
Can you please help us with the AEM version?
Also, the error.log file which you can find under crx-quickstart/logs.
you would be getting something *ERROR*. please check these logs and let us know.
Thanks,
Prince
I searched my PC and found eight yaml files, but they're all related to WKND.
docker-compose-wdio-firefox.yaml
docker-compose-wdio-chrome.yaml
etc...
Views
Likes
Replies