I am using glassfish_rails gem so I only have domain.xml to change. I tried your option, and it did nothing for me.
I will devote sometime tonight to try the real glassfish and see if that works.
Out of curiosity, can a webserver GZIP Compress a chunked response?
[Message sent by forum member 'drjoke' (drjoke)]
http://forums.java.net/jive/thread.jspa?messageID=294291