glassfish
  1. glassfish
  2. GLASSFISH-988

Http-Listener Property Compression is not working

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 9.0pe
    • Fix Version/s: 9.0pe
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      988

      Description

      I am configuring Glassfish to enable compression. I placed the following in my
      domain.xml:
      <http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false"
      default-virtual-server="server" enabled="true" family="inet"
      id="http-listener-1" port="8080" security-enabled="false" server-name=""
      xpowered-by="true">
      <property name="compression" value="on"/>
      </http-listener>
      After I restart the application server I get the following error in the logs:
      Unsupported http-listener property (compression) is being ignored

        Activity

        Hide
        jfarcand added a comment -

        Hum....I've downloaded the current nightly and compression is working. Which
        build are you using? I did:

        <http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false"
        default-virtual-server="server" enabled="true" family="inet"
        id="http-listener-1" port="8080" security-enabled="false" server-name=""
        xpowered-by="true">
        <property name="compression" value="on"/>
        </http-listener>

        and didn't see any warning.

        Closing as not a bug. Feel free to re-open if you have a way to reproduce the
        problem.

        Show
        jfarcand added a comment - Hum....I've downloaded the current nightly and compression is working. Which build are you using? I did: <http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false" default-virtual-server="server" enabled="true" family="inet" id="http-listener-1" port="8080" security-enabled="false" server-name="" xpowered-by="true"> <property name="compression" value="on"/> </http-listener> and didn't see any warning. Closing as not a bug. Feel free to re-open if you have a way to reproduce the problem.
        Hide
        lukemauldin added a comment -

        I am able to reproduce it on the 9.0 release. I have not tried to reproduce it
        on the 9.1 branch or the 9.0ur1 branch. If it is fixed in the 9.1 branch do
        you know if the fix has been backported to the 9.0ur1 branch? If you need any
        more information from me to reproduce it on 9.0 I will be glad to assist in any
        way possible.

        Show
        lukemauldin added a comment - I am able to reproduce it on the 9.0 release. I have not tried to reproduce it on the 9.1 branch or the 9.0ur1 branch. If it is fixed in the 9.1 branch do you know if the fix has been backported to the 9.0ur1 branch? If you need any more information from me to reproduce it on 9.0 I will be glad to assist in any way possible.
        Hide
        jfarcand added a comment -

        I see. This wasn't ported back to the 9.0 branch, so only available in 9.1. Is
        it a problem? I can evaluate how risky is to backport it if you can't update to
        9.1.

        Thanks

        Show
        jfarcand added a comment - I see. This wasn't ported back to the 9.0 branch, so only available in 9.1. Is it a problem? I can evaluate how risky is to backport it if you can't update to 9.1. Thanks
        Hide
        lukemauldin added a comment -

        I would like to see it backported to at least the 9.0ur1 branch because we are
        using the server to support multiple applications that display large amount of
        data to users. Enabling compression on our Tomcat web servers has speeded up
        similar applications significantly so we would like to enable it on our Sun
        Application server as well.

        Show
        lukemauldin added a comment - I would like to see it backported to at least the 9.0ur1 branch because we are using the server to support multiple applications that display large amount of data to users. Enabling compression on our Tomcat web servers has speeded up similar applications significantly so we would like to enable it on our Sun Application server as well.
        Hide
        lukemauldin added a comment -

        One more thing, we will be unable to update to 9.1 until it is marked as stable
        and it is my understanding that will not be until the middle of next year.

        Show
        lukemauldin added a comment - One more thing, we will be unable to update to 9.1 until it is marked as stable and it is my understanding that will not be until the middle of next year.
        Hide
        jluehe added a comment -

        -> JF

        Show
        jluehe added a comment - -> JF
        Hide
        jfarcand added a comment -

        Ok closing this bug as invalid because It was too dangerous to port it back to
        9.0. Sorry you will have to wait for 9.1

        Thanks

        – Jeanfrancois

        Show
        jfarcand added a comment - Ok closing this bug as invalid because It was too dangerous to port it back to 9.0. Sorry you will have to wait for 9.1 Thanks – Jeanfrancois

          People

          • Assignee:
            jfarcand
            Reporter:
            lukemauldin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: