Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM Cloud Service SDK Installation

Avatar

Level 2

Hi all,

 

I downloaded AEM Cloud Service SDK and installed Author on my laptop.

Renamed it to aem-publish-p4505.jar and executed in publish folder.

It did not show any error, but http://localhost:4505/ is failing with the below message:

 

Not Found

Cannot serve request to /content.html in org.apache.sling.servlets.get.DefaultGetServlet

Request Progress:

      0 TIMER_START{Request Processing}
      6 COMMENT timer_end format is {<elapsed microseconds>,<timer name>} <optional message>
     35 LOG Method=GET, PathInfo=null
     81 TIMER_START{handleSecurity}
   7239 TIMER_END{7154,handleSecurity} authenticator org.apache.sling.auth.core.impl.SlingAuthenticator@2c3bbf55 returns true
   7860 TIMER_START{ResourceResolution}
  11802 TIMER_END{3938,ResourceResolution} URI=/content.html resolves to Resource=JcrNodeResource, type=sling:OrderedFolder, superType=null, path=/content
  11825 LOG Resource Path Info: SlingRequestPathInfo: path='/content', selectorString='null', extension='html', suffix='null'
  11826 TIMER_START{ServletResolution}
  11835 TIMER_START{resolveServlet(/content)}
  14878 TIMER_END{3039,resolveServlet(/content)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet
  14902 TIMER_END{3070,ServletResolution} URI=/content.html handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet
  14913 LOG Applying REQUESTfilters
  14941 LOG Calling filter: com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl
  14964 LOG Calling filter: org.apache.sling.security.impl.ContentDispositionFilter
  14982 LOG Calling filter: com.adobe.granite.csrf.impl.CSRFFilter
  16276 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
  16309 LOG Calling filter: com.adobe.granite.httpcache.impl.InnerCacheFilter
  16366 LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
  16386 LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter
  16601 LOG Calling filter: com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet
  16633 LOG Calling filter: com.adobe.granite.optout.impl.OptOutFilter
  16659 LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet
  16703 LOG Calling filter: com.day.cq.dam.core.impl.servlet.DisableLegacyServletFilter
  16732 LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
  16749 LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter
  16766 LOG Calling filter: com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl
  16796 LOG Calling filter: com.adobe.granite.rest.assets.impl.AssetContentDispositionFilter
  16822 LOG Calling filter: com.adobe.granite.requests.logging.impl.RequestLoggerImpl
  16853 LOG Calling filter: com.adobe.granite.rest.impl.servlet.ApiResourceFilter
  17861 LOG Calling filter: com.day.cq.dam.core.impl.servlet.ActivityRecordHandler
  17953 LOG Calling filter: com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler
  17989 LOG Applying Componentfilters
  18005 LOG Calling filter: com.day.cq.personalization.impl.TargetComponentFilter
  18022 LOG Calling filter: com.day.cq.wcm.core.impl.page.PageLockFilter
  18042 LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
  18589 LOG Calling filter: com.day.cq.wcm.core.impl.monitoring.PageComponentRequestFilter
  18619 LOG Calling filter: com.adobe.granite.metrics.knownerrors.impl.ErrorLoggingComponentFilter
  18637 LOG Calling filter: com.adobe.cq.dam.cfm.ui.impl.EditorCacheFilter
  18658 LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
  18711 TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0}
  18883 LOG No renderer for extension html
  20845 LOG Applying Error filters
  21921 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
  22115 LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
  22228 TIMER_START{handleError:status=404}
  26572 TIMER_END{4339,handleError:status=404} Using handler BundledScriptServlet (/libs/sling/servlet/errorhandler/404.jsp)
  51158 LOG Adding the bindings of com.day.cq.wcm.scripting.impl.WCMBindingsValuesProvider took 6199 microseconds which is above the hardcoded limit of 1000 microseconds; if this message appears often it indicates that this BindingsValuesProvider has an impact on general page rendering performance.
  51204 LOG Adding bindings took 8324 microseconds
 182784 LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html], order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config={component-optional=true}), Config(type=mobiledebug, config={component-optional=true}), Config(type=contentsync, config={component-optional=true}), serializer=Config(type=htmlwriter, config={}))}
 192147 TIMER_END{192142,Request Processing} Dumping SlingRequestProgressTracker Entries

Kindly suggest.

Appreciate all your responses.

Thanks,
RK.

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@Rama_KrishnaNy 

 

Here is an earlier post with almost the same issue as yours. Check it once to solve your solve.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/cannot-serve-request-to-co...

 

If the above didn't solve, try following the steps from this tutorial?

https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/local-development-...

 

Finally, if changing port number is not an issue for you, you can try deleting the crx-Quickstart folder, and start using 4503(which is convention for publisher instance). Ideally port number should not cause the issue as long as you are following the pattern.

 

 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

@Rama_KrishnaNy 

 

Here is an earlier post with almost the same issue as yours. Check it once to solve your solve.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/cannot-serve-request-to-co...

 

If the above didn't solve, try following the steps from this tutorial?

https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/local-development-...

 

Finally, if changing port number is not an issue for you, you can try deleting the crx-Quickstart folder, and start using 4503(which is convention for publisher instance). Ideally port number should not cause the issue as long as you are following the pattern.

 

 

Avatar

Level 2

Thanks Kalyan. 

system/console has worked.

 

But when I started Publish, why is it starting http://localhost:4505/, rather than http://localhost:4505/system/console, knowing well that it would fail?

 

It looks a bit mis leading!

 

Thanks,

RK.

Avatar

Community Advisor

@Rama_KrishnaNy 

 

The default redirect when you hit the base url for publish instance is "/content.html"

 

You can update this in "Day CQ Root Mapping" config in the config mgr, "Target path" property. 

Something like below.

Screenshot 2024-06-16 at 9.07.57 AM.png