Hi All,
I m trying use aem 6.1 local instance. I had a requirement where my page should open with this link localhost:4502/launchcomapre
So what I did is created a cq:page under etc folder and in the properties I gave sling:vanitypath= /launchcomapre ( tried same thing in AEM 5.6.1 vanityPath works completely fine for me)
and when i hit page like this localhost:4502/etc/cmstools/launchcomapre it woorks fine
But when i give localhost:4502/launchcomapre it doesnt redirect and it also give me this error
Cannot serve request to /sample in /libs/sling/servlet/errorhandler/404.jsp
0 TIMER_START{Request Processing} 0 COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message> 0 LOG Method=GET, PathInfo=/sample 0 TIMER_START{ResourceResolution} 0 TIMER_END{0,ResourceResolution} URI=/sample resolves to Resource=NonExistingResource, path=/sample 0 LOG Resource Path Info: SlingRequestPathInfo: path='/sample', selectorString='null', extension='null', suffix='null' 0 TIMER_START{ServletResolution} 0 TIMER_START{resolveServlet(NonExistingResource, path=/sample)} 1 LOG {0}: no servlet found 1 TIMER_END{1,resolveServlet(NonExistingResource, path=/sample)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet 1 TIMER_END{1,ServletResolution} URI=/sample handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet 1 LOG Applying Requestfilters 1 LOG Calling filter: com.adobe.granite.requests.logging.impl.RequestLoggerImpl 1 LOG Calling filter: com.adobe.cq.social.ugcbase.security.impl.SaferSlingPostServlet 1 LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter 1 LOG Calling filter: com.adobe.granite.httpcache.impl.InnerCacheFilter 1 LOG Calling filter: com.day.cq.wcm.designimporter.CanvasPageDeleteRequestFilter 1 LOG Calling filter: com.adobe.cq.history.impl.HistoryRequestFilter 1 LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter 1 LOG Calling filter: com.adobe.granite.optout.impl.OptOutFilter 1 LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter 1 LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet 1 LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter 1 LOG Calling filter: com.day.cq.analytics.provisioning.impl.UserAuthenticationRequestFilter 1 LOG Calling filter: com.adobe.cq.social.commons.cors.CORSAuthenticationFilter 1 LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter 1 LOG RedirectFilter did not redirect (not redirecting in author mode) 1 LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter 1 LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter 1 LOG Calling filter: com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl 1 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter 1 LOG Calling filter: org.apache.sling.security.impl.ContentDispositionFilter 1 LOG Calling filter: com.adobe.granite.csrf.impl.CSRFFilter 1 LOG Calling filter: com.adobe.cq.dam.s7imaging.impl.auth.MemoryTokenAuthHandler 1 LOG Calling filter: com.day.cq.dam.core.impl.servlet.ActivityRecordHandler 1 LOG Calling filter: com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl 1 LOG Applying Componentfilters 1 LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter 1 LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter 1 LOG Calling filter: com.day.cq.personalization.impl.TargetComponentFilter 1 TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0} 1 TIMER_END{0,org.apache.sling.servlets.get.DefaultGetServlet#0} 1 LOG Filter timing: filter=com.day.cq.personalization.impl.TargetComponentFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMDebugFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.day.cq.dam.core.impl.servlet.ActivityRecordHandler, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.day.cq.dam.core.impl.servlet.DamContentDispositionFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.adobe.cq.dam.s7imaging.impl.auth.MemoryTokenAuthHandler, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.adobe.granite.csrf.impl.CSRFFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=org.apache.sling.security.impl.ContentDispositionFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=org.apache.sling.i18n.impl.I18NFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl, inner=0, total=0, outer=0 1 LOG Filter timing: filter=org.apache.sling.rewriter.impl.RewriterFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.day.cq.wcm.core.impl.warp.TimeWarpFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.adobe.cq.social.commons.cors.CORSAuthenticationFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.day.cq.analytics.provisioning.impl.UserAuthenticationRequestFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.day.cq.theme.impl.ThemeResolverFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.adobe.granite.optout.impl.OptOutFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMRequestFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.adobe.cq.history.impl.HistoryRequestFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.day.cq.wcm.designimporter.CanvasPageDeleteRequestFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.adobe.granite.httpcache.impl.InnerCacheFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter, inner=0, total=0, outer=0 1 LOG Filter timing: filter=com.adobe.cq.social.ugcbase.security.impl.SaferSlingPostServlet, inner=0, total=0, outer=0 1 LOG Applying Error filters 1 LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter 1 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter 1 TIMER_START{handleError:status=404} 1 TIMER_END{0,handleError:status=404} Using handler /libs/sling/servlet/errorhandler/404.jsp 3 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=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-mobile: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), Config(type=mobiledebug, config=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-mobiledebug: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), Config(type=contentsync, config=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-contentsync: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), serializer=Config(type=htmlwriter, config={}))} 3 TIMER_END{3,Request Processing} Dumping SlingRequestProgressTracker Entries
Can anyone let me know what is the mistake i making here.
Thanks,
Santosh.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Santosh,
Views
Replies
Total Likes
Hi Santosh,
Views
Replies
Total Likes