Hi all,
I am facing with that I getting the following Warnings in cq5.6 error.log and I have no clue why com.day.cq.wcm.core.impl.components.ComponentCacheImpl writes these logs.
com.day.cq.wcm.core.impl.components.ComponentCacheImpl No component node found at /bin/exampleServlet
But I want to eliminate these logs somehow.
I created Sling servlet in OSGI bundle this way.
@SlingServlet(paths = "/bin/exampleServlet", methods = "GET")
public class MyOwnServlet extends SlingAllMethodsServlet { ... }
And I used it in a jsp like this.
<cq:include path="myOwnServlet" resourceType="/bin/exampleServlet" />
Why do I get the following log entries? How can I resolve it?
<TIME> *WARN* [<ip>[1479989769373] GET /cheapenergyclub/register HTTP/1.1] com.day.cq.wcm.core.impl.components.ComponentCacheImpl No component node found at /bin/exampleServlet
Any response, answer or suggestion is appreciated.
Regards,
Tibor Kovacs @ EPAM
Views
Replies
Total Likes
I have seen same warning message and i don't have any information about this.
Views
Replies
Total Likes
Hi,
resourceType in AEM refers to a component. Therefore, the warn message.
cq:include is usually used to include a jsp or a component. if you want to include the servlet maybe you can try
<jsp:include page="/servletURL" />
I hope this helps.
Regards
varun mitra
Views
Replies
Total Likes