Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1163

Dynamic Class Loader components unsatisfied after a bundle is updated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Launchpad Bundles 5
    • Launchpad Builder 6
    • Launchpad
    • None

    Description

      The components of the org.apache.sling.commons.classloader bundle gets unsatisifed when another bundle is updated. This only applies to some bundles, and it is currently unclear what exact characteristics are necessary for the symptoms to appear. However, the error seems to be allways reproducible with certain bundles.

      More background at http://markmail.org/thread/mh5frzq57b4bmb7q

      To reproduce:
      1. Create a script at /apps/sling/servlet/default/html.esp
      2. Create a node at /node
      3. Browse to /node.html
      4. Observe how the script is used for rendering
      5. Update an "offending" bundle
      6. Browse to /node.html again

      Expected result:

      • Your html.esp script is used for rendering

      Actual result:

      • The HtmlRendererServlet is used for rendering, just as if your script did not exist. The Felix Web Console lists org.apache.sling.scripting.javascript.internal.RhinoJavaScriptEngineFactory and org.apache.sling.scripting.jsp.JspScriptEngineFactory components as "unsatisfied".

      Attachments

        Issue Links

          Activity

            People

              fmeschbe Felix Meschberger
              vramdal Vidar Skauge Ramdal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: