glassfish
  1. glassfish
  2. GLASSFISH-20593

[osgi-web] Regression - Unable to locate static and dynamic resources from WAB fragments

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.1
    • Component/s: OSGi-JavaEE
    • Labels:
      None

      Description

      This is caused by a recent fix to WebappClassLoader while fixing GLASSFISH-20386. Resources from WEB-INF/lib/*.jar/META-INF/resources/ are no longer searched using getMetainfResources(). Instead, a new class called WebDirContext has been introduced which handled resource lookup from such jars in an optimized way. Currently, OSGi web container uses FileDirContext which needs to be changed a WebDirContext to get things working. I have a fix that works, but unfortunately there is no promoted 4.0.1 builds available in maven repository for us to compile against. This is needed because WebDirContext is newly introduced. This will also make the next version of osgi-web-container backward incompatible with glassfish 3.x releases.

        Issue Links

          Activity

            People

            • Assignee:
              Sanjeeb Sahoo
              Reporter:
              Sanjeeb Sahoo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: