users@glassfish.java.net

Re: Change Glassfish Protocol properties using asadmin

From: Justin Lee <justin.d.lee_at_oracle.com>
Date: Tue, 26 Apr 2011 09:26:48 -0400

asadmin set
configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.compression=on

On 4/26/11 8:45 AM, forums_at_java.net wrote:
> Hi,
>
> I have an application running on Glassfish, because the responses from my
> HTTP service become pretty big (10MB) I want to use gzip HTTP response
> compress.
>
> I've try it and it is working great.
>
> My question is how to use asadmin to remotly connect to my servers and
> change
> http-listenter-1 properties to have the default Compression property
> from off
> to on ?
>
>
>
> Thank you,
>
> Ido.
>
>
> --
>
> [Message sent by forum member 'ido_ran']
>
> View Post: http://forums.java.net/node/795440
>
>