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
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Level 1
tibor_kovacs
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
tibor_kovacs
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
tibor_kovacs
Level 1

24-11-2016

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

Replies

Avatar

Avatar
Validate 1
Level 2
radhakrishnan72
Level 2

Likes

4 likes

Total Posts

28 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
radhakrishnan72
Level 2

Likes

4 likes

Total Posts

28 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
radhakrishnan72
Level 2

27-06-2018

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

Avatar

Avatar
Give Back 5
Level 2
varunmitra
Level 2

Likes

8 likes

Total Posts

31 posts

Correct Reply

4 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 5
View profile

Avatar
Give Back 5
Level 2
varunmitra
Level 2

Likes

8 likes

Total Posts

31 posts

Correct Reply

4 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 5
View profile
varunmitra
Level 2

16-07-2018

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