Hi Team,
I have created a page rendering component name data (/apps/project/dm/components/pages/data) [here dm is a folder.]
and the related template (/apps/project/dm/templates/data)
Any node/folder created using the data template (project/dm/components/pages/data) throws the below error while rendering the thumbnail. It is conflicting with the OOTB ThumbnailServlet config.
Author Error:
/mnt/crx/author/crx-quickstart/logs/error.log:19.08.2020 15:16:04.051 *ERROR* [10.113.90.115 [1597850164034] GET /content/www/data.thumb.48.48.png HTTP/1.1] org.apache.jsp.libs.cq.Page.thumb_png_jsp resource has no content. path=/content/www/data.thumb.48.48.png referrer=null
ThumbnailServlet:
component.name = com.day.cq.wcm.core.impl.servlets.ThumbnailServlet
service.pid = com.day.cq.wcm.core.impl.servlets.ThumbnailServlet
service.vendor = Adobe Systems Incorporated
sling.servlet.extensions = [gif, png, jpg]
sling.servlet.resourceTypes = sling/servlet/default
sling.servlet.selectors = thumb workspace = crx.default
http://localhost:4502/system/console/configMgr/com.day.cq.wcm.core.impl.servlets.ThumbnailServlet
http://localhost:4502/system/console/components/2914
@Vijayalakshmi_S @arunpatidar @vanegi @kautuk_sahni @Theo_Pendle
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Can you confirm if the thumbnail has jcr:content node. Shared error statement occurs when there is no jcr:content node on the requested resource.
Also, suggest to check the resource resolving flow via "Recent Requests" in OSGI console - http://localhost:4502/system/console/requests
Can you confirm if the thumbnail has jcr:content node. Shared error statement occurs when there is no jcr:content node on the requested resource.
Also, suggest to check the resource resolving flow via "Recent Requests" in OSGI console - http://localhost:4502/system/console/requests
Seems your page(/content/www/data) does not have jcr:content node. Sites(sites.html) will load 48x48 size thumbnail icon by default(can override from page properties thumbnail tab) from /libs/cq/ui/widgets/themes/default/icons/240x180/page.png by adapting current resource(Page) to Template.class. You will get this ERROR if page does not have jcr:content node.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies