Right now I'm dealing with this problem: The node:
"/apps/mywebsite/components/content/body.jsp" references another jsp located at
"/apps/mywebsite/components/topnav/topnav.jsp" by the expression:
"< cq:include path = "topnav" resourceType = "mywebsite/components/topnav" />"
within body.jsp.

When rendering the webpage I get an error because by resolving the path
mywebsite/components/topnav the string "topnav" is iteratively added to the
ResourcePath. So it looks like:
 /content/mywebsite/en/products/jcr:content/topnav/topnav/topnav....

The error at the browser looks like this:
Page =  /content/mywebsite/en/products
ResourcePath =
 /content/mywebsite/en/products/jcr:content/topnav/topnav/topnav....
Cell = topnav
CellSearchPath = contentpage | page/topnav/topnav/topnav.....
ComponentPath = /apps/mywebsite/en/components/topnav

I made a mistake somewhere but I don't know where. I can delete what I did and
try again - this will most probably solve the error. The samle did already run,
I started over again for training purposes. But it would be better for me to
find the cause to get a feeling for what might go wrong and how to debug it.
I can try to lookup any definition I made so far, but I would rather prefer to
get some knowledge about the debugging possibilities right now available. I know
the "Recent Requests"-Trace already. I found the iteration (adding "topnav" to
the resource path in a loop), but from this I can'T estimate for the reason.
And this is what I would like to ask for here. What can I do to understand where
this behaviour might comes from.

best Regards,
Ulrich


 Snippet from the "Recent Requests"-Trace:

-02-04 16:07:55) LOG Including script body.jsp for
path=/content/mywebsite/en/products/jcr:content,
type=mywebsite/components/contentpage:
/apps/mywebsite/components/contentpage/body.jsp
31 (2013-02-04 16:07:55)
TIMER_START{/apps/mywebsite/components/contentpage/body.jsp}
31 (2013-02-04 16:07:55) LOG Including resource SyntheticResource,
type=mywebsite/components/topnav,
path=/content/mywebsite/en/products/jcr:content/topnav (SlingRequestPathInfo:
path='/content/mywebsite/en/products/jcr:content/topnav', selectorString='null',
extension='html', suffix='null')
31 (2013-02-04 16:07:55) TIMER_START{resolveServlet(SyntheticResource,
type=mywebsite/components/topnav,
path=/content/mywebsite/en/products/jcr:content/topnav)}
31 (2013-02-04 16:07:55) TIMER_END{0,resolveServlet(SyntheticResource,
type=mywebsite/components/topnav,
path=/content/mywebsite/en/products/jcr:content/topnav)} Using servlet
/apps/mywebsite/components/topnav/topnav.jsp
31 (2013-02-04 16:07:55) LOG Applying Includefilters
31 (2013-02-04 16:07:55) LOG Calling filter:
com.day.cq.wcm.core.impl.WCMComponentFilter
31 (2013-02-04 16:07:55) LOG Calling filter:
com.day.cq.wcm.core.impl.WCMDebugFilter
31 (2013-02-04 16:07:55)
TIMER_START{/apps/mywebsite/components/topnav/topnav.jsp#2}
31 (2013-02-04 16:07:55) LOG Including resource SyntheticResource,
type=mywebsite/components/topnav,
path=/content/mywebsite/en/products/jcr:content/topnav/topnav
(SlingRequestPathInfo:
path='/content/mywebsite/en/products/jcr:content/topnav/topnav',
selectorString='null', extension='html', suffix='null')
31 (2013-02-04 16:07:55) TIMER_START{resolveServlet(SyntheticResource,
type=mywebsite/components/topnav,
path=/content/mywebsite/en/products/jcr:content/topnav/topnav)}
31 (2013-02-04 16:07:55) TIMER_END{0,resolveServlet(SyntheticResource,
type=mywebsite/components/topnav,
path=/content/mywebsite/en/products/jcr:content/topnav/topnav)} Using servlet
/apps/mywebsite/components/topnav/topnav.jsp
31 (2013-02-04 16:07:55) LOG Applying Includefilters
31 (2013-02-04 16:07:55) LOG Calling filter:
com.day.cq.wcm.core.impl.WCMComponentFilter
31 (2013-02-04 16:07:55) LOG Calling filter:
com.day.cq.wcm.core.impl.WCMDebugFilter
31 (2013-02-04 16:07:55)
TIMER_START{/apps/mywebsite/components/topnav/topnav.jsp#3}
31 (2013-02-04 16:07:55) LOG Including resource SyntheticResource,
type=mywebsite/components/topnav,
path=/content/mywebsite/en/products/jcr:content/topnav/topnav/topnav
(SlingRequestPathInfo:
path='/content/mywebsite/en/products/jcr:content/topnav/topnav/topnav',
selectorString='null', extension='html', suffix='null')
31 (2013-02-04 16:07:55) TIMER_START{resolveServlet(SyntheticResource,
type=mywebsite/components/topnav,
path=/content/mywebsite/en/products/jcr:content/topnav/topnav/topnav)}
31 (2013-02-04 16:07:55) TIMER_END{0,resolveServlet(SyntheticResource,
type=mywebsite/components/topnav,
path=/content/mywebsite/en/products/jcr:content/topnav/topnav/topnav)} Using
servlet /apps/mywebsite/components/topnav/topnav.jsp
31 (2013-02-04 16:07:55) LOG Applying Includefilters
31 (2013-02-04 16:07:55) LOG Calling filter:
com.day.cq.wcm.core.impl.WCMComponentFilter
31 (2013-02-04 16:07:55) LOG Calling filter:
com.day.cq.wcm.core.impl.WCMDebugFilter
31 (2013-02-04 16:07:55)
TIMER_START{/apps/mywebsite/components/topnav/topnav.jsp#4}
31 (2013-02-04 16:07:55) LOG Including resource SyntheticResource,
type=mywebsite/components/topnav,
path=/content/mywebsite/en/products/jcr:content/topnav/topnav/topnav/topnav
(SlingRequestPathInfo:
path='/content/mywebsite/en/products/jcr:content/topnav/topnav/topnav/topnav',
selectorString='null', extension='html', suffix='null')
31 (2013-02-04 16:07:55) TIMER_START{resolveServlet(SyntheticResource,
type=mywebsite/components/topnav,
path=/content/mywebsite/en/products/jcr:content/topnav/topnav/topnav/topnav)}
31 (2013-02-04 16:07:55) TIMER_END{0,resolveServlet(SyntheticResource,
type=mywebsite/components/topnav,
path=/content/mywebsite/en/products/jcr:content/topnav/topnav/topnav/topnav)}
Using servlet /apps/mywebsite/components/topnav/topnav.jsp
31 (2013-02-04 16:07:55) LOG Applying Includefilters

Reply via email to