users@glassfish.java.net

Re: - RKerr - As you know we

From: <forums_at_java.net>
Date: Mon, 21 Mar 2011 07:22:31 -0500 (CDT)

 Hi Graham,

Sorry to be so late in replying to this, I was not receiving email
notifications of the replies!

We seem to have solved the issue by explicitly including a GZIP encoding
filter in the web.xml, i.e:

   <servlet>

        <servlet-name>ServletAdaptor</servlet-name>

       
<servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>

        <load-on-startup>1</load-on-startup>

        <init-param>

         
<param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>

         
<param-value>com.sun.jersey.api.container.filter.GZIPContentEncodingFilter</param-value>

        </init-param>

        <init-param>

         
<param-name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name>

       
<param-value>com.sun.jersey.api.container.filter.GZIPContentEncodingFilter</param-value>

       </init-param>

 

 We have ceased to see the issue, but it was not really reproducable when
it was occuring anyway so we're not 100% certain this fixes it. 

-Richard


--
[Message sent by forum member 'rkerr']
View Post: http://forums.java.net/node/732938