7 Replies Latest reply on Mar 7, 2013 9:04 AM by Sham HC

    error in repository logs

    HarishDv Level 1

      com.day.cq.security.impl.CQUserManagerImpl Could not resolve Authorizable: failure accessing Repository:

       

      I got this error in the logs twice or thrice.

       

      I want to know , what would have triggered this error ?

       

      Any inputs would be appreciated...

       

       

       

       

      Regards

      Harish

        • 1. Re: error in repository logs
          Jörg Hoh Adobe Employee

          Can you post the complete stack trace? You just omitted the interesting parts :-)

           

          Jörg

          • 2. Re: error in repository logs
            HarishDv Level 1

            Hi jorg ,

             

            • org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource Paragraph

            path=/content/geometrixx/en/my_Page /jcr:content/par_center/mycomponent, type= geometrixx/components/mycomponent, cssClass=default, column=0/0, diffInfo=[null], superType=null

             

            These are the lines above the error which i got.There were no significant lined below the error.

             

            Hope this may be sufficient .!!

            • 3. Re: error in repository logs
              Jörg Hoh Adobe Employee

              For me these 2 error messages are not related at all...

              • 4. Re: error in repository logs
                HarishDv Level 1

                Hi Jorg ,

                 

                I have checked again in my logs.I could see only these lines 

                 

                com.day.cq.security.impl.CQUserManagerImpl Could not resolve Authorizable: failure accessing Repository:

                 

                I am sure all the other lines are not related at all .The complete stack trace does not have any related content.


                I have searched about this error from my end and all i know is this ,


                * The package com.day.cq.security.impl does not have the class/interface named
                    " CQUserManagerImpl  ", though it has  "UserManagerImpl"

                * The Authorizable interface defines methods such as User and Group , used to  provide access to the repository.

                 

                Please let me know if you can add to this list

                 


                • 5. Re: error in repository logs
                  Sham HC Level 7

                  Hi Harish,

                   

                  The error indicates path syntacticaly point to Authorizable, that does not exist. This could happen when accessing non-exist resource. Ex:- http://localhost:4502/%20test

                   

                  It is fixed in latest cq.

                   

                  Thanks,

                  Sham

                  1 person found this helpful
                  • 6. Re: error in repository logs
                    HarishDv Level 1

                    Hi Sham,

                     

                    When i click on the link (http://localhost:4502/%20test) in my cq instance 5.4 i am able to perfectly replicate the issue.

                     

                    But i also tested the same URL in cq 5.6 , but the issue does not seem to be fixed.

                     

                    Please suggest ways to fix the problem in 5.4/5/6 .

                     

                     

                    Regards

                    Harish

                    • 7. Re: error in repository logs
                      Sham HC Level 7

                      Hi Harish,

                       

                                The handling of non-exist resource is correct in both cq versions. The only difference you would notice from 5.5 onwards it is logged as warning instead of error. The way to fix is make sure you do not have invalid links in your website however you can't avoid user entering wrong url.

                       

                      Thanks,

                      Sham

                      1 person found this helpful