I am new with CQ5 and was trying the steps given "How to Create a Fully Featured Internet Website" (http://dev.day.com/docs/en/cq/current/howto/website.html). I have two issues -
1.
I have uploaded the "website-1.0" package and I can see the output in author environment but the top navigation image is not appearing.
When I hit "http://localhost:4502/cf#/content/mywebsite.html" I get following exceptions -
Error during include of component '/libs/foundation/components/toolbar'
Error Message:
org.apache.sling.api.scripting.ScriptEvaluationException
Under full exception list I see following -
Caused by: org.apache.sling.api.SlingException:
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:691)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:608)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:533)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:241)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:86)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:441)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
... 143 more
Caused by: java.lang.NullPointerException
at org.apache.jsp.libs.foundation.components.toolbar.toolbar_jsp._jspService(toolbar_jsp.java:187)
at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)
2. When I publish the website using "Replication-Activate Tree" , I see only blank page when I hit "http://localhost:4503/content/mywebsite/en/products.html" URL.
When I hit "http://localhost:4503/content/mywebsite/" I see following error -
403 Forbidden
Cannot serve request to /content/mywebsite/ on this server
Please help as I am not able to get the solution for these 2 issue.
Many Thanks!!
Solved! Go to Solution.
Views
Replies
Total Likes
Can you try un-installing the website-1.0 package, clearing your browser cache, then re-installing the website package. I have tested this and it works.
Views
Replies
Total Likes
There could be issue with the steps or your environment. What version of CQ do you have?
I am going going to step through this with AEM 5.6 to see if i get the same results as you. However - the steps should be valid for the corresponding version of CQ.
I will post the results and let you know if there is an issue with the steps.
Views
Replies
Total Likes
I wanted to provide an update on this thread. I am going through this section this weekend to make sure that there are no issues that would explain the Java exception.
I am up to this point:
[img]ASite.png[/img]
I will post an update when i am done.
Views
Replies
Total Likes
Can you post a screenshot of what you are seeing.
I followed the topic -- and i got the proper result as shown here:
[img]TopNav.png[/img]
What version of CQ are you using?
Views
Replies
Total Likes
Thank you for your quick response. I am using version 5.6.0 of CQ.
Please find attached screen shots for the issues. Screen shot page1 to page4 are for 1st issue and the screen shot 2nd_issue for 2nd issue of publishing site.
Thanks for your help!!
Views
Replies
Total Likes
Can you try un-installing the website-1.0 package, clearing your browser cache, then re-installing the website package. I have tested this and it works.
Views
Replies
Total Likes
Views
Likes
Replies