问题描述
我正在使用AEM 6.4,对于404,我想隐藏在请求进度中显示的所有信息。 在我的情况下,创建自定义错误页面不是一种选择。 我试图禁用组件ErrorPageHandler,但这不起作用。 这是我要隐藏的示例:
找不到位于'/conf/MyOldProject/settings/wcm/templates/landing-page/structure/jcr:content/root/title.html'的资源:找不到资源 无法将请求提供给/libs/sling/servlet/errorhandler/404.jsp
中的/conf/MyOldProject/settings/wcm/templates/landing-page/structure/jcr:content/root/title.htmlRequest Progress:
0 TIMER_START{Request Processing}
3 COMMENT timer_end format is {<elapsed microseconds>,<timer name>} <optional message>
10 LOG Method=GET,PathInfo=null
13 TIMER_START{handleSecurity}
1613 TIMER_END{1597,handleSecurity} authenticator org.apache.sling.auth.core.impl.SlingAuthenticator@6e7c2e44 returns true
3677 TIMER_START{ResourceResolution}
3865 TIMER_END{186,ResourceResolution} URI=/conf/MyOldProject/settings/wcm/templates/landing-page/structure/jcr:content/root/title.html resolves to Resource=NonExistingResource,path=/conf/MyOldProject/settings/wcm/templates/landing-page/structure/jcr:content/root/title.html
3872 LOG Resource Path Info: SlingRequestPathInfo: path='/conf/MyOldProject/settings/wcm/templates/landing-page/structure/jcr:content/root/title.html',selectorString='null',extension='html',suffix='null'
3873 TIMER_START{ServletResolution}
3877 TIMER_START{resolveServlet(/conf/MyOldProject/settings/wcm/templates/landing-page/structure/jcr:content/root/title.html)}
4597 LOG {0}: no servlet found
4606 TIMER_END{727,resolveServlet(/conf/MyOldProject/settings/wcm/templates/landing-page/structure/jcr:content/root/title.html)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet
4610 TIMER_END{737,ServletResolution} URI=/conf/MyOldProject/settings/wcm/templates/landing-page/structure/jcr:content/root/title.html handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet
4614 LOG Applying Requestfilters
4619 LOG Calling filter: com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl
4625 LOG Calling filter: org.apache.sling.security.impl.ContentdispositionFilter
4629 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
4632 LOG Calling filter: com.adobe.granite.httpcache.impl.InnerCacheFilter
4638 LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
4640 LOG Calling filter: com.adobe.cq.mcm.campaign.servlets.CampaigncopyTracker
4642 LOG Calling filter: com.adobe.cq.history.impl.HistoryRequestFilter
4752 LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter
4768 LOG Calling filter: com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet
4773 LOG Calling filter: com.adobe.granite.optout.impl.OptOutFilter
4778 LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet
4780 LOG Calling filter: com.adobe.cq.social.commons.cors.CORSAuthenticationFilter
4784 LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgresstrackerLogFilter
4787 LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter
4790 LOG Calling filter: com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl
4871 LOG Calling filter: com.adobe.granite.csrf.impl.CSRFFilter
4873 LOG Calling filter: com.adobe.granite.rest.assets.impl.AssetContentdispositionFilter
4877 LOG Calling filter: com.adobe.granite.requests.logging.impl.RequestLoggerImpl
4884 LOG Calling filter: com.adobe.granite.rest.impl.servlet.ApiResourceFilter
4887 LOG Calling filter: com.day.cq.dam.core.impl.servlet.ActivityRecordHandler
4897 LOG Calling filter: com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler
4900 LOG Calling filter: com.adobe.cq.social.ugcbase.security.impl.SaferSlingPostServlet
4902 LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter
4909 LOG Applying Componentfilters
4911 LOG Calling filter: com.day.cq.personalization.impl.TargetComponentFilter
4913 LOG Calling filter: com.day.cq.wcm.core.impl.page.PageLockFilter
4915 LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
4925 LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
4934 TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0}
4992 TIMER_END{57,org.apache.sling.servlets.get.DefaultGetServlet#0}
5011 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMDebugFilter,inner=0,total=0,outer=0
5013 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMComponentFilter,total=1,outer=1
5014 LOG Filter timing: filter=com.day.cq.wcm.core.impl.page.PageLockFilter,inner=1,outer=0
5059 LOG Filter timing: filter=com.adobe.cq.dtm.reactor.impl.servlets.ClientLibraryFilter,outer=1
5061 LOG Filter timing: filter=com.adobe.cq.dam.webdav.impl.io.damWebdavRequestFilter,outer=0
5062 LOG Filter timing: filter=com.day.cq.wcm.core.impl.warp.TimeWarpFilter,outer=0
5063 LOG Filter timing: filter=com.adobe.cq.social.ugcbase.security.impl.SaferSlingPostServlet,outer=0
5065 LOG Filter timing: filter=com.adobe.cq.dtm.impl.servlets.DTMLibraryCompatibilityFilter,outer=0
5066 LOG Filter timing: filter=com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler,outer=0
5068 LOG Filter timing: filter=com.day.cq.dam.core.impl.servlet.damContentdispositionFilter,outer=0
5070 LOG Filter timing: filter=com.day.cq.dam.core.impl.servlet.ActivityRecordHandler,outer=0
5071 LOG Filter timing: filter=com.adobe.granite.rest.impl.servlet.ApiResourceFilter,outer=0
5072 LOG Filter timing: filter=com.adobe.granite.requests.logging.impl.RequestLoggerImpl,outer=0
5074 LOG Filter timing: filter=com.adobe.granite.rest.assets.impl.AssetContentdispositionFilter,outer=0
5075 LOG Filter timing: filter=com.adobe.granite.csrf.impl.CSRFFi
谢谢您的帮助。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)