JordietYahii / crxzon

Automatically exported from code.google.com/p/crxzon
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by shajiah...@gmail.com on 11 Mar 2013 at 7:40

Attachments:

GoogleCodeExporter commented 9 years ago
There is a typo on CQ5 site for invoking this bookstore, it is listed as 
http://<host>:7402/products.html. It must be 
http://<host>: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<p>Cannot serve request to 
/products/english.html in /apps/bookstore/components/ranking/ranking.jsp</p>
<h3>Exception:</h3>
<pre>org.apache.sling.api.SlingException: at 
org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExcepti
onInternal

Original comment by shajiah...@gmail.com on 11 Mar 2013 at 3:24

GoogleCodeExporter commented 9 years ago

Original comment by shajiah...@gmail.com on 11 Mar 2013 at 3:25

Attachments:

GoogleCodeExporter commented 9 years ago
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.

Original comment by dmc7...@gmail.com on 20 Dec 2013 at 5:17