Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

No component node found at /.../.../exampleServlet WARNING

tibor_kovacs
Level 1
Level 1

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

0 Replies
radhakrishnan72
Level 2
Level 2

I have seen same warning message and i don't have any information about this.

varunmitra
Level 3
Level 3

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