Export to GitHub

crxzon - issue #4

Cannot serve request to /products.html in /apps/bookstore/components/ranking/ranking.jsp


Posted on Mar 11, 2013 by Grumpy Panda

What steps will reproduce the problem? 1. I checked out source code fromhttp://dev.day.com/docs/en/crx/current/getting_started/first_steps_with_crx.html#Step%20Two:%20Check%20out%20CRX%20Bookstore%20Example
2. When I tried to invoke http://localhost:4502/products.html 3. I got "Cannot serve request to /products.html in /apps/bookstore/components/ranking/ranking.jsp:

What is the expected output? What do you see instead? It should be the products from bookstore app

What version of the product are you using? On what operating system? I am using CQ5.5 (CRX 2.3) on windows &

Please provide any additional information below.

Comment #1

Posted on Mar 11, 2013 by Grumpy Panda

There is a typo on CQ5 site for invoking this bookstore, it is listed as http://:7402/products.html. It must be http://:7402/products/english.html. This is working fine after I invoke correct URL, however it is not listing all the product somewhere it is breaking in the middle with the following exception

Cannot serve request to /products/english.html in /apps/bookstore/components/ranking/ranking.jsp

Exception:

org.apache.sling.api.SlingException: at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal

Comment #2

Posted on Mar 11, 2013 by Grumpy Panda

(No comment was entered for this change.)

Attachments

Comment #3

Posted on Dec 20, 2013 by Quick Dog

The URL is correct. It should give a link with the to the English language page. This will not work if you have commented out the service registration annotation as described in defect 3. Refer to this defect for more detail.

Status: New

Labels:
Type-Defect Priority-Medium