users@glassfish.java.net

Re: gzip compression

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sun, 25 Oct 2009 15:29:39 +0100

following this manual: http://docs.sun.com/app/docs/doc/820-4507/abhco?a=view

the "http-listener" should be under the http-service element, right ?

  <configs>
    <config name="server-config">
      <http-service>
        <access-log />
        <virtual-server id="server"
network-listeners="http-listener-1,http-listener-2" />
        <virtual-server id="__asadmin" network-listeners="admin-listener" />
              <http-listener>
                <property name="compression" value="force"/>
                <property name="compressableMimeType"
value="text/html,text/xml,text/plain,image/gif,image/jpeg,image/png,text/css,text/javascript,application/json,application/xml"/>
              </http-listener>
      </http-service>
...

and nothing happens.. what is missed ?