Discussion:
[jboss-user] [JBoss Remoting] - Resteasy @GZIP: Not in GZIP format
astempfel
2013-07-03 13:38:47 UTC
Permalink
astempfel [https://community.jboss.org/people/astempfel] created the discussion

"Resteasy @GZIP: Not in GZIP format"

To view the discussion, visit: https://community.jboss.org/message/826183#826183

--------------------------------------------------------------
Hi all

i'm using JBoss AS7 and Resteasy. My resource methods are annotated with @GZIP, but that doesn't work:

Caused by: java.io.IOException: Not in GZIP format
          at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:141)
          at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:56)
          at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:65)
          at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor$FinishableGZIPInputStream.<init>(GZIPDecodingInterceptor.java:30)
          at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.read(GZIPDecodingInterceptor.java:47)
          at org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl.proceed(MessageBodyReaderContextImpl.java:108)
          at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.read(GZIPDecodingInterceptor.java:51)
          at org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl.proceed(MessageBodyReaderContextImpl.java:108)


Did anybody else have this issue and solved it?

regards
angela
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/826183#826183]

Start a new discussion in JBoss Remoting at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]
Ron Sigal
2013-08-14 21:05:58 UTC
Permalink
Ron Sigal [https://community.jboss.org/people/ron_sigal] created the discussion

"Re: Resteasy @GZIP: Not in GZIP format"

To view the discussion, visit: https://community.jboss.org/message/832705#832705

--------------------------------------------------------------
Hi Angela,

Your question isn't related to Remoting.  The Resteasy discussion mailing list is at http://sourceforge.net/p/resteasy/discussion/668890/ http://sourceforge.net/p/resteasy/discussion/668890/.  You should probably include an example of your resource code.

-Ron
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/832705#832705]

Start a new discussion in JBoss Remoting at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]
Loading...