2 Replies Latest reply on Feb 9, 2013 5:49 PM by durganuvvula

    CQ login page is throwing 500 Internal Server Error on start up. Can't load http root property error

    durganuvvula Level 1

      Hello Team,

       

      When I am trying to start the CQ instance, I am seeing the following in the stderr.log

       

      Setting properties from filename 'C:/CQ/CQInstall/cq-author-4502.jar'

      Property '-r' set to 'author' from filename cq-quickstart-5.5.0-20120220.jar

      System property 'sling.run.modes' set to 'author' by -r option

      Redirecting stdout to C:\CQ\CQInstall\.\crx-quickstart\logs\stdout.log

      Redirecting stderr to C:\CQ\CQInstall\.\crx-quickstart\logs\stderr.log

      ResourceProvider paths=[/gui, /gui/default]

      Can't load http root property: java.io.FileNotFoundException: C:\CQ\CQInstall\.\crx-quickstart\conf\sling.properties (The system cannot find the file specified)

       

      MAIN process: shutdown hook

       

      MAIN process: exiting

       

      I am not sure where from this extra \.\ is getting added in the path.

       

      Even when I see the osgi bundle in the system console,

       

      http://localhost:4502/system/console/bundles


      Bundle information: 122 bundles in total, 119 bundles active, 3 active fragments, 0 bundles resolved, 0 bundles installed.


      On my mac machine, I have the same version and could see the total bundles as different.


      bundle information 231 bundles in total, 224 bundles active, 7 active fragments, 0 bundles resolved and 0 bundles installed


      When I try to access the http://localhost:4502/libs/crx/core/content/login.html

       

      Internal Server Error

       

      When I looked into the logs, it is giving the following error message:

       

      06.02.2013 17:38:31.980 *ERROR* [0:0:0:0:0:0:0:1 [1360193734586] GET /libs/crx/core/content/login.html HTTP/1.1] org.apache.sling.servlets.resolver.internal.SlingServletResolver Original error class org.apache.sling.api.SlingException org.apache.sling.api.SlingException:

       

      at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:563)

       

      at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:499)

      at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:451)

      at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

      Caused by: org.apache.sling.api.SlingException: Unable to setup processor: Unable to get component of class 'interface org.apache.sling.rewriter.Generator' with type 'htmlparser'.

       

      at org.apache.sling.rewriter.impl.ProcessorManagerImpl.getProcessor(ProcessorManagerImpl.jav a:452)

       

      at org.apache.sling.rewriter.impl.RewriterResponse.getProcessor(RewriterResponse.java:172)

      at org.apache.sling.rewriter.impl.RewriterResponse.getWriter(RewriterResponse.java:110)

      at org.apache.sling.scripting.core.impl.helper.OnDemandWriter.getWriter(OnDemandWriter.java: 38)

      at org.apache.sling.scripting.core.impl.helper.OnDemandWriter.write(OnDemandWriter.java:61)

      at java.io.PrintWriter.write(PrintWriter.java:382)

      Caused by: java.io.IOException: Unable to get component of class 'interface org.apache.sling.rewriter.Generator' with type 'htmlparser'.

       

      at org.apache.sling.rewriter.impl.PipelineImpl.getPipelineComponent(PipelineImpl.java:160)

       

      at org.apache.sling.rewriter.impl.PipelineImpl.init(PipelineImpl.java:85)

      at org.apache.sling.rewriter.impl.ProcessorManagerImpl.getProcessor(ProcessorManagerImpl.jav a:445)

      ... 73 more

       

      Any pointers to solve the problem would be highly appreciated.

       

      Best Regards,

      Durga