Expand my Community achievements bar.

Sling rendering fails after a few builds

Avatar

Level 2

I am a developer and I have a local instance I use for building and testing. My system is using the Java 11 JDK. After some number of builds, I haven't counted but the instance is fine for a bit then fails. The builds are successful and deploy fine. The issue I'm running into is that something happens where the pages I have created no longer render. In fact, neither do the WE Retail pages. The response to the request to the page is an empty document. The only way I have been able to fix it is by deleting the entire crx-quickstart tree then rebuilding the instance. This is time consuming and painful. I loose all of my configurations and changes that aren't backed up in a package, those that are, require me to then load the package after the instance has rebuilt. I have tried compacting the indexes and forcing them to rebuild but that doesn't work.

 

Has anyone else had a similar issue and if you were able to fix it, how did you do so?

12 Replies

Avatar

Level 2
Additional information: this project was created from the aem-project-archetype version 27 and using the 6.5 version of the runtime jar. 6.5.0 uber-jar.

Avatar

Community Advisor

Can you please check error.log?

which can help us to find the exact error.

Avatar

Level 2
I had checked the logs before and it didn't provide much help. I searched based on the exception. I don't remember but it was something with the Sling Default Servlet.

Avatar

Community Advisor
it would be difficult to find or predict the issue without the logs. can you try replicating it?

Avatar

Level 2

This is from the logs at the point the errors begin:

 

27.05.2021 12:13:52.469 *INFO* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-19-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Sending POST request to http://localhost:4503/bin/receive?sling:authRequestLogin=1
27.05.2021 12:13:54.510 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-19-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Error while sending request: java.net.ConnectException: Connection refused: connect
27.05.2021 12:13:54.510 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-19-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Replication (DELETE) of /content/mysite not successful: java.net.ConnectException: Connection refused: connect Conversation follows
27.05.2021 12:13:54.510 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-19-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish ------------------------------------------------
27.05.2021 12:13:54.510 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-19-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Sending message to localhost:4503
27.05.2021 12:13:54.510 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-19-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> POST /bin/receive HTTP/1.0
27.05.2021 12:13:54.510 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-19-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Action: Delete
27.05.2021 12:13:54.510 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-19-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Path: /content/mysite
27.05.2021 12:13:54.510 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-19-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Handle: /content/mysite
27.05.2021 12:13:54.510 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-19-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Referer: about:blank
27.05.2021 12:13:54.510 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-19-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Content-Length: 0
27.05.2021 12:13:54.510 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-19-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Content-Type: application/octet-stream
27.05.2021 12:13:54.510 *INFO* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-19-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish.queue Job for agent publish processed in 2042ms. Failed.
27.05.2021 12:13:55.437 *INFO* [sling-cq-polling-importer-4-myDataSource] com.day.cq.polling.importer.impl.PollingImporterImpl importData: Importing data from livefyreRightsImporter:myDataSource to /etc/importers/polling/livefyre-poller/jcr:content as polling-importer-service by com.adobe.social.integrations.livefyre.livefyreAssetImporter.impl.LivefyreRightsRequestPoller@4ff3c9ee
27.05.2021 12:14:09.129 *INFO* [discovery.connectors.common.runner.ba2ef361-e11c-4939-945a-12d85940bc95.connectorPinger] org.apache.sling.discovery.commons.providers.base.MinEventDelayHandler handlesNewView: only properties differ, hence no delaying applicable
27.05.2021 12:14:09.129 *INFO* [discovery.connectors.common.runner.ba2ef361-e11c-4939-945a-12d85940bc95.connectorPinger] org.apache.sling.discovery.commons.providers.base.ViewStateManagerImpl handleNewViewNonDelayed: properties changed to: DefaultTopologyView[current=true, num=1, instances=[clusterId=3fcde6d9-41b0-4919-8271-975574a32cf6, instances=[id=ba2ef361-e11c-4939-945a-12d85940bc95, isLeader=true, isLocal=true]]]
27.05.2021 12:14:09.129 *INFO* [discovery.connectors.common.runner.ba2ef361-e11c-4939-945a-12d85940bc95.connectorPinger] org.apache.sling.discovery.commons.providers.base.ViewStateManagerImpl enqueueForAll: sending topologyEvent TopologyEvent [type=PROPERTIES_CHANGED, oldView=DefaultTopologyView[current=false, num=1, instances=ba2ef361-e11c-4939-945a-12d85940bc95[local=true,leader=true]], newView=DefaultTopologyView[current=true, num=1, instances=ba2ef361-e11c-4939-945a-12d85940bc95[local=true,leader=true]]], to all (18) listeners
27.05.2021 12:14:09.130 *INFO* [Discovery-AsyncEventSender] org.apache.sling.discovery.oak.OakDiscoveryService changePropagationListener.handleTopologyEvent: topology changed - propagate through connectors
27.05.2021 12:14:09.130 *INFO* [Discovery-AsyncEventSender] org.apache.sling.discovery.oak.pinger.OakViewChecker triggerAsyncConnectorPing: firing job to trigger heartbeat
27.05.2021 12:14:18.666 *INFO* [ForkJoinPool-1-worker-9] com.scene7.is.scalautil.service.Service Starting: Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57345 -Monitored -ParentProcessId 12980)
27.05.2021 12:14:18.722 *INFO* [ForkJoinPool-1-worker-11] com.scene7.is.scalautil.service.Service Starting: Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57346 -Monitored -ParentProcessId 12980)
27.05.2021 12:14:18.722 *INFO* [ForkJoinPool-1-worker-9] com.scene7.is.scalautil.service.Service Started: Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57345 -Monitored -ParentProcessId 12980)
27.05.2021 12:14:18.767 *INFO* [ForkJoinPool-1-worker-11] com.scene7.is.scalautil.service.Service Started: Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57346 -Monitored -ParentProcessId 12980)
27.05.2021 12:14:18.886 *ERROR* [ForkJoinPool-1-worker-9] com.scene7.is.scalautil.service.Service Process Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57345 -Monitored -ParentProcessId 12980) exited with exit code: 1.
27.05.2021 12:14:18.886 *INFO* [ForkJoinPool-1-worker-9] com.scene7.is.scalautil.service.Service Process Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57345 -Monitored -ParentProcessId 12980) failed too quickly, waiting for 59836 ms before restarting
27.05.2021 12:14:18.933 *ERROR* [ForkJoinPool-1-worker-13] com.scene7.is.scalautil.service.Service Process Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57346 -Monitored -ParentProcessId 12980) exited with exit code: 1.
27.05.2021 12:14:18.933 *INFO* [ForkJoinPool-1-worker-13] com.scene7.is.scalautil.service.Service Process Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57346 -Monitored -ParentProcessId 12980) failed too quickly, waiting for 59834 ms before restarting
27.05.2021 12:14:38.189 *INFO* [oak-repository-executor-1] com.adobe.granite.repository Service [15141, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED
27.05.2021 12:14:40.744 *INFO* [sling-default-4-health-org.apache.sling.discovery.oak.SynchronizedClocksHealthCheck] org.apache.sling.discovery.oak.SynchronizedClocksHealthCheck execute: no topology connectors connected to local instance.
27.05.2021 12:14:41.140 *INFO* [oak-repository-executor-1] com.adobe.granite.repository Service [15142, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED
27.05.2021 12:14:42.336 *INFO* [oak-repository-executor-1] com.adobe.granite.repository Service [15143, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED
27.05.2021 12:14:44.393 *INFO* [oak-repository-executor-1] com.adobe.granite.repository Service [15144, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED
27.05.2021 12:14:54.524 *INFO* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish.queue Processing job for agent publish
27.05.2021 12:14:54.524 *INFO* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Create new HttpClient for Default Agent
27.05.2021 12:14:54.525 *INFO* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish * Auth User: admin
27.05.2021 12:14:54.525 *INFO* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish * HTTP Version: 1.1
27.05.2021 12:14:54.525 *INFO* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Sending POST request to http://localhost:4503/bin/receive?sling:authRequestLogin=1
27.05.2021 12:14:55.441 *INFO* [oak-repository-executor-1] com.adobe.granite.repository Service [15145, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED
27.05.2021 12:14:55.445 *INFO* [oak-repository-executor-1] com.adobe.granite.repository Service [15146, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED
27.05.2021 12:14:55.449 *INFO* [oak-repository-executor-1] com.adobe.granite.repository Service [15147, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED
27.05.2021 12:14:55.452 *INFO* [oak-repository-executor-1] com.adobe.granite.repository Service [15148, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED
27.05.2021 12:14:55.455 *INFO* [oak-repository-executor-1] com.adobe.granite.repository Service [15149, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED
27.05.2021 12:14:56.553 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Error while sending request: java.net.ConnectException: Connection refused: connect
27.05.2021 12:14:56.553 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Replication (DELETE) of /content/mysite not successful: java.net.ConnectException: Connection refused: connect Conversation follows
27.05.2021 12:14:56.553 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish ------------------------------------------------
27.05.2021 12:14:56.553 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Sending message to localhost:4503
27.05.2021 12:14:56.553 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> POST /bin/receive HTTP/1.0
27.05.2021 12:14:56.554 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Action: Delete
27.05.2021 12:14:56.554 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Path: /content/mysite
27.05.2021 12:14:56.554 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Handle: /content/mysite
27.05.2021 12:14:56.554 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Referer: about:blank
27.05.2021 12:14:56.554 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Content-Length: 0
27.05.2021 12:14:56.554 *ERROR* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Content-Type: application/octet-stream
27.05.2021 12:14:56.554 *INFO* [sling-threadpool-fdc72501-b251-4b4b-bda9-3d09f1345cb9-(apache-sling-job-thread-pool)-20-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish.queue Job for agent publish processed in 2030ms. Failed.
27.05.2021 12:15:08.774 *ERROR* [0:0:0:0:0:0:0:1 [1622139308764] GET /content/mysite/us/en/test-page.html HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource JcrNodeResource, type=mysite/components/page, superType=null, path=/content/mysite/us/en/test-page/jcr:content
27.05.2021 12:15:18.724 *INFO* [ForkJoinPool-1-worker-9] com.scene7.is.scalautil.service.Service Starting: Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57345 -Monitored -ParentProcessId 12980)
27.05.2021 12:15:18.768 *INFO* [ForkJoinPool-1-worker-13] com.scene7.is.scalautil.service.Service Starting: Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57346 -Monitored -ParentProcessId 12980)
27.05.2021 12:15:18.772 *INFO* [ForkJoinPool-1-worker-9] com.scene7.is.scalautil.service.Service Started: Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57345 -Monitored -ParentProcessId 12980)
27.05.2021 12:15:18.809 *INFO* [ForkJoinPool-1-worker-13] com.scene7.is.scalautil.service.Service Started: Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57346 -Monitored -ParentProcessId 12980)
27.05.2021 12:15:18.933 *ERROR* [ForkJoinPool-1-worker-11] com.scene7.is.scalautil.service.Service Process Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57345 -Monitored -ParentProcessId 12980) exited with exit code: 1.
27.05.2021 12:15:18.934 *INFO* [ForkJoinPool-1-worker-11] com.scene7.is.scalautil.service.Service Process Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57345 -Monitored -ParentProcessId 12980) failed too quickly, waiting for 59840 ms before restarting
27.05.2021 12:15:18.965 *ERROR* [ForkJoinPool-1-worker-13] com.scene7.is.scalautil.service.Service Process Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57346 -Monitored -ParentProcessId 12980) exited with exit code: 1.
27.05.2021 12:15:18.965 *INFO* [ForkJoinPool-1-worker-13] com.scene7.is.scalautil.service.Service Process Process(C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\bin64\ImageServer.exe -Log C:\Users\robert.harper\dev\aem6.5\crx-quickstart\logs\ImageServer.log -CacheServerUrl file:/C:/Users/robert.harper/dev/aem6.5/crx-quickstart/ -RootPath C:\Users\robert.harper\dev\aem6.5\crx-quickstart\launchpad\felix\bundle388\data\image-server\images -AllowRemoteAccess 0 -RandomAccessUrlTimeout 20 -WorkerThreads 10 -TcpPort 57346 -Monitored -ParentProcessId 12980) failed too quickly, waiting for 59845 ms before restarting
27.05.2021 12:15:40.744 *INFO* [sling-default-1-health-org.apache.sling.discovery.oak.SynchronizedClocksHealthCheck] org.apache.sling.discovery.oak.SynchronizedClocksHealthCheck execute: no topology connectors connected to local instance.

Avatar

Level 2

Refreshing the page with an empty page;

27.05.2021 12:22:57.992 *ERROR* [0:0:0:0:0:0:0:1 [1622139777990] GET /content/mysite/us/en/test-page.html HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource JcrNodeResource, type=mysite/components/page, superType=null, path=/content/mysite/us/en/test-page/jcr:content

Avatar

Level 3

This happened with me as well on AEM 6.5 with Java 11. Couldnt find solution and end up using Java 8 

Avatar

Level 2
That was kind of my guess. However, the specifications say that 6.5 is supposed to be compatible with Java 11 and because of security from where I'm working, downloading and installing Java 8 isn't easy to do.

Avatar

Community Advisor

Hi @RobertInfosys 

 

This is a known issue with AEM 6.5 running on JDK 11. This issue is due to the fact that CXF packages have been removed from AEM and you have to install those externally while running on JDK 11.

You will need to replace the below line in sling.properties file present inside crx-quickstart/conf

 

sling.bootdelegation.sun=sun.*,com.sun.*
with
sling.bootdelegation.sun=sun.*,com.sun.*,jdk.internal.reflect,jdk.internal.reflect.*
 
Restart the instance. You will never face the issue again and all the pages will render fine.
 
 
Thanks!

Avatar

Level 2
First attempt. Stopped the instance, changed the property, restarted, the authentication service failed. Couldn't log into anything so I had to delete the crx-quickstart folder and start over. I changed the property after the instance was recreated and restarted. I'll see if this fixes it and report back.

Avatar

Level 2

This seems to have worked. I wonder why it was so hard to find.