users@glassfish.java.net

Re: compression still mysterious

From: <glassfish_at_javadesktop.org>
Date: Mon, 30 Nov 2009 10:59:47 PST

Couple things to check..

1) Make sure and put the changes under the server-config and not the default config..

2) on GlassFish v2 you can only use minCompressionSize but v3 and prelude uses minCompressionSize as well as compressionMinSize... Some blogs and tutorials are not differentiating this for users.

3) for the compression setting "enabled" is not an option. You have either "on", "off" or "force".

4) You have misspelled Compressable. Please make sure that for the property names you're using all lower case, and compressableMimeType uses an "A" instead of an "I" and that you use "Type" (singular) not "Types"

Hope that helps
[Message sent by forum member 'holmessph' ]

http://forums.java.net/jive/thread.jspa?messageID=373915