Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-13802

Javascript debugger causing an error when launched from the log4.properties

    Details

    • Type: Service Pack Request
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.0.0.4
    • Fix Version/s: 5.0.2
    • Labels:
      None
    • Environment:
      Alfresco 5.0.0.3 and 5.0.0.4

      Description

      Steps to reproduce:
      Alfresco 5.0.x installation, change the following setting in

      [tomcat]/webaps/share/log4j.properties:

      log4j.logger.org.springframework.extensions.webscripts.ScriptDebugger=on

      and try to log in Share
      When loading the dashboard, the following error is logged (a few times per second):

      Failed to load source from file:/home/bblommers/Servers/alfresco-5.0.0.2-OOTB/tomcat/webapps/share/WEB-INF/lib/lesscss-engine-1.5.0.jar!/META-INF/less.js: java.io.FileNotFoundException: /home/bblommers/Servers/alfresco-5.0.0.2-OOTB/tomcat/webapps/share/WEB-INF/lib/lesscss-engine-1.5.0.jar!/META-INF/less.js (No such file or directory)

      And the page never loads.

      Workaround:
      it seems that during the bootstrap not all the dependencies are loaded when launching the JavaScript debugger from the log4. I have tried the standard method of on the API:
      http://127.0.0.1:8080/share/page/api/javascript/debugger
      from there it worked fine for me

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs (Inactive)
                  Reporter:
                  asolerasenci Antonio Soler-Asenci [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 days, 1 hour, 30 minutes
                    2d 1h 30m

                      Structure Helper Panel