The issue number is 5258.
https://glassfish.dev.java.net/issues/show_bug.cgi?id=5258
Thanks for helping
-----Ursprüngliche Nachricht-----
Von: Jeanfrancois.Arcand_at_Sun.COM [mailto:Jeanfrancois.Arcand_at_Sun.COM]
Gesendet: Freitag, 4. Juli 2008 17:08
An: dev_at_glassfish.dev.java.net
Betreff: Re: AW: GZip Request
Johannes Goehr wrote:
> Yes :) but the compression just affects the response.
Ok, that was a stupid question from me :-) I should have known based on
your code analysis :-)
>
> There are two cases working:
>
> 1) Compression Dissabled:
>
> My client sends a uncompressed request. ---> Glassfish sends uncompressed
> response
>
>
> 2) Compression Enabled:
>
> My client sends a uncompressed request. ---> Glassfish sends uncompressed
> response
>
> 3) Compression Enabled or Disabled & Client sends compressed request
>
> My client sends a compressed request ---> Glassfish don't use a
> GzipInputStream and I got an Exception
Hum hum hum :-) Looks like a bug. Let me investigate why. Can you file
an issue here:
https://glassfish.dev.java.net/servlets/ProjectIssues
as your analysis make sense. I will do my home work and respond as soon
as possible :)
Thanks
-- Jeanfrancois
>
>
>
>
> Message: Inhalt ist in Prolog nicht gestattet.
> com.sun.xml.ws.protocol.soap.MessageCreationException: SOAP-Meldung konnte
> nicht erstellt werden wegen Ausnahmefehler: Fehler im XML-Leseprogramm:
> javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
> Message: Inhalt ist in Prolog nicht gestattet.
> at
> com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:292)
> at
>
com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:276)
> at
> com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:93)
> at
>
com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.jav
> a:432)
> at
> com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
> at
>
com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.j
> ava:135)
> at
>
com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDi
> spatcher.java:113)
> at
>
com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispat
> cher.java:87)
> at
>
com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(Ejb
> WebServiceServlet.java:226)
> at
>
com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServ
> let.java:155)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
> at
>
com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:114)
> at
>
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632
> )
> at
>
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577
> )
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:87)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206
> )
> at
>
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632
> )
> at
>
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577
> )
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :150)
> at
>
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632
> )
> at
>
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577
> )
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
> at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
> at
>
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(
> DefaultProcessorTask.java:637)
> at
>
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(Defa
> ultProcessorTask.java:568)
> at
>
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(Defaul
> tProcessorTask.java:813)
> at
>
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTas
> k(DefaultReadTask.java:341)
> at
>
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadT
> ask.java:263)
> at
>
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadT
> ask.java:214)
> at
>
com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUn
> ificationPipeline.java:380)
> at
> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
> at
>
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerTh
> read.java:106)
>
>
> -----Ursprüngliche Nachricht-----
> Von: Jeanfrancois.Arcand_at_Sun.COM [mailto:Jeanfrancois.Arcand_at_Sun.COM]
> Gesendet: Freitag, 4. Juli 2008 16:56
> An: dev_at_glassfish.dev.java.net
> Betreff: Re: GZip Request
>
> Salut,
>
> Johannes Goehr wrote:
>> I’m trying to get send a gzip compressed Request to a Glassfish
>> Webservice. I included “Content-Encoding: gzip” in the header. The
>> problem is
>>
>>
>>
>> That glassfish don’t decompress the request before interpreting the soap
>> message. It seems like there is no InputFilter in
>>
>>
>>
>> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask for gzip.
>> Is it a bug or just a configuration problem.
>>
>>
>>
>> Is there any possibility to declare a own InputFilter???
>
> Have you enabled compression?
>
>
http://weblogs.java.net/blog/jfarcand/archive/2006/06/enabling_http_c_1.html
>
> Thanks
>
> -- Jeanfrancois
>
>
>
>>
>>
>> Thx for help
>>
>>
>>
>> Greets Johannes
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: dev-help_at_glassfish.dev.java.net