Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: web_container
    • Labels:
      None

      Description

      Suppose there are two web-fragment with init-param for the same servlet, foo with different value bar1, bar2 respectively.
      According to section 3.1 8.2.3 of Servlet 3.1 spec, the deployment should fails.
      But this is not the case for GlassFish 4.0.

        Activity

        Hide
        Shing Wai Chan added a comment -

        Sending appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/WebBundleDescriptor.java
        Sending appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/WebComponentDescriptor.java
        Sending appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebBundleDescriptorImpl.java
        Sending appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebComponentDescriptorImpl.java
        Sending appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebFragmentDescriptor.java
        Sending appserver/web/web-glue/src/main/resources/org/glassfish/web/deployment/descriptor/LocalStrings.properties
        Transmitting file data ......
        Committed revision 62338.

        Show
        Shing Wai Chan added a comment - Sending appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/WebBundleDescriptor.java Sending appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/WebComponentDescriptor.java Sending appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebBundleDescriptorImpl.java Sending appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebComponentDescriptorImpl.java Sending appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebFragmentDescriptor.java Sending appserver/web/web-glue/src/main/resources/org/glassfish/web/deployment/descriptor/LocalStrings.properties Transmitting file data ...... Committed revision 62338.
        Hide
        Shing Wai Chan added a comment -

        Additional fix for MimeMapping
        Sending src/main/java/org/glassfish/web/deployment/descriptor/WebBundleDescriptorImpl.java
        Transmitting file data .
        Committed revision 62292.

        Show
        Shing Wai Chan added a comment - Additional fix for MimeMapping Sending src/main/java/org/glassfish/web/deployment/descriptor/WebBundleDescriptorImpl.java Transmitting file data . Committed revision 62292.
        Hide
        Shing Wai Chan added a comment -

        Sending deployment/dol/src/main/java/com/sun/enterprise/deployment/WebBundleDescriptor.java
        Sending deployment/dol/src/main/java/com/sun/enterprise/deployment/WebComponentDescriptor.java
        Sending web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebBundleDescriptorImpl.java
        Sending web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebComponentDescriptorImpl.java
        Sending web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebFragmentDescriptor.java
        Sending web/web-glue/src/main/resources/org/glassfish/web/deployment/descriptor/LocalStrings.properties
        Transmitting file data ......
        Committed revision 62290.

        Show
        Shing Wai Chan added a comment - Sending deployment/dol/src/main/java/com/sun/enterprise/deployment/WebBundleDescriptor.java Sending deployment/dol/src/main/java/com/sun/enterprise/deployment/WebComponentDescriptor.java Sending web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebBundleDescriptorImpl.java Sending web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebComponentDescriptorImpl.java Sending web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebFragmentDescriptor.java Sending web/web-glue/src/main/resources/org/glassfish/web/deployment/descriptor/LocalStrings.properties Transmitting file data ...... Committed revision 62290.

          People

          • Assignee:
            Shing Wai Chan
            Reporter:
            Shing Wai Chan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: