Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Apr 9, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 11 Mar 2013 at 7:40

Attachments:

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 11 Mar 2013 at 3:24

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 11 Mar 2013 at 3:25

Attachments:

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 20 Dec 2013 at 5:17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant