This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Then we need to include Apache HttpClient into classpatch. Note that new HttpClient 4.x is not yet supported so we need to use older 3.1 version. commos-codec is also required (I use version 1.4 but I dont know what version is correct for HttpClient 3.1).

GZIP conpression needs to enabled on server for Java Serialized Object data. I use Tomcat server so the required configration in server.xml is following (compression config in bold):

There is an error in Tomcat server.xml configuration above. There should not be a space between parameter and its value on "compression". This leads to strange Tomcat behavior (slowdowns, freezing). So the correct Tomcat configuration is:

I could not use this HTTPInvoker GZip-packing because there were some mysterious connection problems in some environments. I don't know the reason but I plan to test it again when Spring 3.1 is released with support to Apache HttpClient 4.x.