1 Reply Latest reply on Jun 21, 2013 12:48 AM by Yashika Gupta

    Issue while installing SP2 on CQ5.5

    Yashika Gupta

      Hi,

       

      I have been trying to upgrade CQ5 5.5 to Service Pack 2.

      Out of 10, the upgrade gets successful 7 times but it fails for the rest of the times.

       

      Script that I am using:

       

      #cq5-update-pkg-5.5.10.zip and cq5-service-pack-2.zip

              curl -u ${crx_site_user}:${crx_site_password} -F package=@$PACKAGE_DIR/cq5-update-pkg-5.5.10.zip http://${privateIP}:${cq5_author_listen_port}/crx/packmgr/service/.json/?cmd=upload

       

       

              curl -u ${crx_site_user}:${crx_site_password} -F package=@$PACKAGE_DIR/cq5-service-pack-2.zip http://${privateIP}:${cq5_author_listen_port}/crx/packmgr/service/.json/?cmd=upload

       

       

              curl -u ${crx_site_user}:${crx_site_password} -X POST http://${privateIP}:${cq5_author_listen_port}/crx/packmgr/service/.json/etc/packages/day/cq550/upd ate/cq-update-pkg-5.5.10.zip?cmd=install

       

       

              curl -u ${crx_site_user}:${crx_site_password} -X POST http://${privateIP}:${cq5_author_listen_port}/crx/packmgr/service/.json/etc/packages/day/cq550/upd ate/cq-service-pack-5.5.2.20121012.zip?cmd=install

       

       

      CQ5 Update Package gets installed but it gets failed while installation of cq5-service-pack-2.zip

       

      <html><head><title>

      500

      Internal Server Error

      </title></head><body><h1>

      Internal Server Error

       

      Internal Server Error

      </title></head><body><h1>

      Internal Server Error

      </h1>

      </body></html>

       

      This error corrupts my cq5 Author Package. Same behavior is observed for Publisher Package. Though, this issue is intermittent, but the after-effects leads to fresh installation of CQ5.

       

      Any help would be appreciated.

        • 1. Re: Issue while installing SP2 on CQ5.5
          Yashika Gupta Level 1

          Error Logs

           

          21.06.2013 06:06:45.494 *INFO* [152.144.62.112 [1371794797261] POST /crx/packmgr/service/.json/?cmd=upload HTTP/1.1] com.day.jcr.vault.packaging.impl.JcrPackageDefinitionImpl unwrapping package day/cq550/update:cq-service-pack:5.5.2.20121012

           

          21.06.2013 06:10:49.575 *ERROR* [152.144.62.112 [1371795049335] POST /crx/packmgr/service/.json/etc/packages/day/cq550/update/cq-service-pack-5.5.2.20121012.z ip HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException java.io.IOException: Unable to get component of class 'interface org.apache.sling.rewriter.Transformer' with type 'linkchecker'.

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

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

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

                  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.servlets.post.HtmlResponse.doSend(HtmlResponse.java:113)

                  at org.apache.sling.servlets.post.AbstractPostResponse.send(AbstractPostResponse.java:376)

                  at org.apache.sling.servlets.post.impl.SlingPostServlet.doPost(SlingPostServlet.java:225)

                  at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.ja va:148)

           

          21.06.2013 06:10:49.706 *ERROR* [152.144.62.112 [1371795049335] POST /crx/packmgr/service/.json/etc/packages/day/cq550/update/cq-service-pack-5.5.2.20121012.z ip HTTP/1.1] org.apache.sling.servlets.resolver.internal.SlingServletResolver Calling the error handler resulted in an error org.apache.sling.api.scripting.ScriptEvaluationException:

                  at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:385)

                  at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

                  at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

                  at org.apache.sling.servlets.resolver.internal.SlingServletResolver.handleError(SlingServlet Resolver.java:764)

           

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

                  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)

                  at org.apache.sling.scripting.jsp.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.jav a:119)

                  at org.apache.sling.scripting.jsp.jasper.runtime.PageContextImpl.release(PageContextImpl.jav a:191)

                  at org.apache.sling.scripting.jsp.jasper.runtime.JspFactoryImpl.internalReleasePageContext(J spFactoryImpl.java:99)

                  at org.apache.sling.scripting.jsp.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactor yImpl.java:71)

                  at org.apache.sling.scripting.jsp.jasper.compiler.JspRuntimeContext$JspFactoryHandler.releas ePageContext(JspRuntimeContext.java:120)

                  at org.apache.jsp.libs.sling.servlet.errorhandler.default_jsp._jspService(default_jsp.java:3 20)

                  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:420)

                  ... 52 more

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