破坏的Adobe CQ页面呈现

破坏的Adobe CQ页面呈现,adobe,aem,wcm,Adobe,Aem,Wcm,我正在尝试获取页面(CQ 5.4): htttp://localhost:4502/etc/replication/agents.author.html 但请看下一个: Resource dumped by HtmlRendererServlet Resource path: /etc/replication/agents.author Resource metadata: {sling.resolutionPathInfo=.html, sling.resolutionPath=/etc/re

我正在尝试获取页面(CQ 5.4): htttp://localhost:4502/etc/replication/agents.author.html

但请看下一个:

Resource dumped by HtmlRendererServlet
Resource path: /etc/replication/agents.author
Resource metadata: {sling.resolutionPathInfo=.html, sling.resolutionPath=/etc/replication/agents.author}
Resource type: cq:Page
Resource super type: -
Resource properties..
在“系统/控制台”>“最近的请求”中,我们可以看到渲染过程

0 (2013-12-16 02:33:09) TIMER_START{Request Processing}
      0 (2013-12-16 02:33:09) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message>
      0 (2013-12-16 02:33:09) LOG Method=GET, PathInfo=/etc/replication/agents.author.html
      0 (2013-12-16 02:33:09) TIMER_START{ResourceResolution}
      1 (2013-12-16 02:33:09) TIMER_END{1,ResourceResolution} URI=/etc/replication/agents.author.html resolves to Resource=JcrNodeResource, type=cq:Page, superType=null, path=/etc/replication/agents.author
      1 (2013-12-16 02:33:09) LOG Resource Path Info: SlingRequestPathInfo: path='/etc/replication/agents.author', selectorString='null', extension='html', suffix='null'
      1 (2013-12-16 02:33:09) TIMER_START{ServletResolution}
      1 (2013-12-16 02:33:09) TIMER_START{resolveServlet(JcrNodeResource, type=cq:Page, superType=null, path=/etc/replication/agents.author)}
      1 (2013-12-16 02:33:09) TIMER_END{0,resolveServlet(JcrNodeResource, type=cq:Page, superType=null, path=/etc/replication/agents.author)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet
      1 (2013-12-16 02:33:09) TIMER_END{0,ServletResolution} URI=/etc/replication/agents.author.html handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet
      1 (2013-12-16 02:33:09) LOG Applying Requestfilters
此外,在我的断开实例上还有一个活动包: 每日公报5 WCM Geometrixx Gocom.Day.cq.WCM.cq-WCM-Geometrixx-go 5.4.0 把它关掉,但没用

之后,我在包管理器中上传了cq-content-5.4.jar,安装了它,重新启动了系统。
但是,对于所有页面,我都有相同的错误(由HtmlRenderServlet转储的资源)。这也没有帮助。

由于Apache Sling资源解析程序出厂设置中的设置,也可能发生这种情况。我们面临同样的问题,发现资源搜索路径的设置缺少所有条目。验证默认条目应具有以下内容:

/aps
/libs
/apps/foundation/components/primary
/libs/foundation/components/primary

我意识到这已经是很久以前的事了,但也许它对未来的开发者有用

如果使用默认的GET servlet,则需要在Apache Sling GET servlet中配置一个设置来呈现HTML。这可以在ApacheFelixWeb控制台中找到。您可以在此处访问它:

/system/console/configMgr

然后搜索“slinggetservlet”。在配置中,您需要切换“Enable HTML”的配置设置,以选择是否启用默认Get servlet的HTML呈现程序

在Felix控制台中,所有捆绑包都处于活动状态吗?如果是这样,您是否也可以发布error.log文件中的任何错误。所有捆绑包都处于活动状态。默认情况下,此页面将由page.jsp和agents.jsp(/libs/foundation/components/primary/cq/page/page.jsp;/libs/cq/replication/components/agents/agents.jsp)呈现出来—如果您直接浏览到它们,它们是否都存在?其他页面是否受到影响?首先,感谢您的帮助!我直接浏览了所有这些页面。他们在场。这种情况发生在所有页面上,不仅仅是/etc/replication/agents.author.htmlOK,如果它找不到任何页面的呈现程序,那么在核心CQ库文件中似乎缺少或更改了某些内容—我要说,检查,1)如果您安装了与默认实例相同数量的bundle(从我在本地看到的5.6.1上是308)-如果不是,区别是什么;如果看起来完全相同,我会尝试重新安装“cq-content-5.x.x.zip”CRX软件包管理器中的软件包-不过,您必须小心这一点,因为如果您在筛选器包含的节点下进行了任何更改,您将丢失它们。不过,这个问题开始变得非常本地化。
/aps
/libs
/apps/foundation/components/primary
/libs/foundation/components/primary
/system/console/configMgr