dev@glassfish.java.net

Re: Compression o GlassFish b32

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Fri, 19 Jan 2007 14:29:31 -0500

Dyego Souza Dantas Leal wrote:
> I goto admin console... in http-listner-1 and set a new property
> compression=on and restart de AS

If you manually open ${glassfish.home}/domains/domain1/conf/domain.xml,
are you seeing:

<property name="compression" value="on"/>


> Only this... i'm using windows and JDk 1.6
> Firebug show the header ? how ?

Firebug is an extension of Firefox:

https://addons.mozilla.org/firefox/1843/

To see the header, just enable Firebug in Firefox ( Tools > Firebug >
Open Firebug). On that Firebug window, click on net and you will get the
request/response data.

-- Jeanfrancois





>
>
>
> Jeanfrancois Arcand escreveu:
>> Hum,
>>
>> work from me. I've added the property under http-listener-1, issue
>> http://localhost:8080/ using Firefox, and got from FireBug the
>> following header
>>
>>> X-Powered-By Servlet/2.5
>>> Etag W/"3114-1169229251000"
>>> Last-Modified Fri, 19 Jan 2007 17:54:11 GMT
>>> Server Sun Java System Application Server 9.1
>>> Content-Type text/html
>>> Transfer-Encoding chunked
>>> Content-Encoding gzip
>>> Vary Accept-Encoding
>>> Date Fri, 19 Jan 2007 18:58:14 GMT
>>
>> What are you doing exactly?
>>
>> -- Jeanfrancois
>>
>>
>> Dyego Souza Dantas Leal wrote:
>>> No.
>>> has no effect.
>>>
>>>
>>>
>>> Jeanfrancois Arcand escreveu:
>>>> Hi,
>>>>
>>>> Dyego Souza Dantas Leal wrote:
>>>>> I trying to set compression o GlassFish v2 b32...
>>>>>
>>>>> i'm set property compress=force on http-listner-1 in default
>>>>> instalation on glassfish is have zero effect...
>>>>
>>>> The property name is:
>>>>
>>>> <property name="compression" value="on"/>
>>>>
>>>> or do:
>>>>
>>>> & asadmin set
>>>> server.http-service.http-listener.http-listener-1.property.compression=force
>>>>
>>>>
>>>> Does it work when you set it?
>>>>
>>>> Thanks
>>>>
>>>> -- Jeanfrancois
>>>>
>>>>
>>>>
>>>>> is a bug?
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>
>