1 Reply Latest reply on May 26, 2011 12:22 PM by Earnest Dyke

    JBoss 5 EAP and HTTP compression

    Earnest Dyke Novice

      Greetings all,

       

      I am trying to turn http compression on within our JBoss 5.0 EAP server. I have setup the connector within server.xml as shown below and have verified that all params are set using the jmx-console. When I request a page however I see no compressed content returned. I am sure it is something simple I am overlooking but I can't find it.

       

      I am using Firefox 4, have flushed the cache and use ybslow to evaluate the response.

       

      Any and all related responses are appreciated.

       

      Earnie!

       

       

         <Connector port="8080"

                             address="${jboss.bind.address}"

                             maxThreads="500"

                             strategy="ms"

                             maxHttpHeaderSize="8192"

                             emptySessionPath="true"

                             enableLookups="false"

                             redirectPort="8443"

                             acceptCount="200"

                             connectionTimeout="0"

                             minSpareThreads="100"

                             maxSpareThreads="200"

                             maxKeepAliveRequests="1"

                             disableUploadTimeout="true"

                             compression="on"

                             compressionMinSize="10"

                             noCompressionUserAgents="gozilla, traviata"

                             compressableMimeType="text/html,text/xml,text/javascript,text/css"/>

        • 1. Re: JBoss 5 EAP and HTTP compression
          Earnest Dyke Novice
             <Connector port="8080" 
                                 address="${jboss.bind.address}"
                                 maxThreads="500" 
                                 strategy="ms" 
                                 maxHttpHeaderSize="8192"
                                 emptySessionPath="true"
                                 enableLookups="false" 
                                 redirectPort="8443" 
                                 acceptCount="200"
                                 connectionTimeout="0" 
                                 minSpareThreads="100"
                                 maxSpareThreads="200"
                                 maxKeepAliveRequests="1"
                                 disableUploadTimeout="true"
                                 compression="on"
                                 compressionMinSize="10"
                                 noCompressionUserAgents="gozilla, traviata"
                                 compressableMimeType="text/html,text/xml,text/javascript,text/css"/>