Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.next, 2.1.2, 2.2.0-m01
    • Component/s: resources
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,856
    • Status Whiteboard:
      Hide

      size_medium importance_large jsf_2_1_1

      Show
      size_medium importance_large jsf_2_1_1
    • Tags:

      Description

      Composite components that are packaged in jar files fail when deploying to WLS. The problem: when
      testing for the existence of a composite component library, Mojarra calls ClassLoader.getResource() on the
      path to the directory containing the composite component library. While GF's class loader honors calls to
      getResource() for directory paths, WLS's class loader does not. As a result, the composite component
      library is not found, and composite component references fail to resolve.

      The failing code path starts around
      com.sun.faces.facelets.tag.jsf.CompositeComponentTagLibrary.tagLibraryForNSExists(), which delegates to
      the ResourceHandler/ResourceManager to check for the existence of the composite component resource
      library.

      1. 20110317-1537-i_jsf_1856.patch
        13 kB
        Ed Burns
      2. 20110325-1725-i_jsf_1856.patch
        12 kB
        Ed Burns
      3. ClasspathResourceHelper.java
        9 kB
        Ed Burns
      4. i_jsf_1856.patch
        7 kB
        Ed Burns

        Issue Links

          Activity

          Hide
          Ed Burns added a comment -

          Committed to 2.1 branch.

          Sending jsf-ri/src/main/java/com/sun/faces/application/resource/ClasspathResourceHelper.java
          Sending jsf-ri/src/main/java/com/sun/faces/facelets/tag/jsf/CompositeComponentTagLibrary.java
          Sending jsf-ri/test/com/sun/faces/application/resource/TestResourceHandlerImpl.java
          Transmitting file data ...
          Committed revision 8950.

          Show
          Ed Burns added a comment - Committed to 2.1 branch. Sending jsf-ri/src/main/java/com/sun/faces/application/resource/ClasspathResourceHelper.java Sending jsf-ri/src/main/java/com/sun/faces/facelets/tag/jsf/CompositeComponentTagLibrary.java Sending jsf-ri/test/com/sun/faces/application/resource/TestResourceHandlerImpl.java Transmitting file data ... Committed revision 8950.
          Hide
          Ed Burns added a comment -

          Still doing directory scan.

          Show
          Ed Burns added a comment - Still doing directory scan.
          Hide
          Ed Burns added a comment -

          Reviewed with Sheetal.

          Show
          Ed Burns added a comment - Reviewed with Sheetal.
          Hide
          rogerk added a comment -

          fix versions

          Show
          rogerk added a comment - fix versions
          Hide
          rogerk added a comment -

          re-closing

          Show
          rogerk added a comment - re-closing

            People

            • Assignee:
              Ed Burns
              Reporter:
              aschwart
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: