You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@synapse.apache.org by "Asankha C. Perera" <as...@wso2.com> on 2008/06/11 11:09:20 UTC

Re: Error when forcing HTTP/1.0

Pavel

This is a defect caused by a performance improvement we did at the last 
minute.. can you raise a JIRA and we will make the fix available ASAP as 
a snapshot

asankha

Pavel Křehula wrote:
> Hello,
> I have problem using HTTP/1.0 in Synapse 1.2
>
> Using sample 0:
> if I modify configuration of sample 0 and add
> <property scope="axis2-client" name="FORCE_HTTP_1.0" value="true"/>
>
> <!-- Introduction to Synapse -->
> <definitions xmlns="http://ws.apache.org/ns/synapse">
>     <property scope="axis2-client" name="FORCE_HTTP_1.0" value="true"/>
>
>     <!-- log all attributes of messages passing through -->
>     <log level="full"/>
>
>     <!-- Send the messageto implicit destination -->
>     <send/>
> </definitions>
>
> to force using HTTP/1.0 and switch off chunked transfer encoding I get 
> following error:
>
> 2008-06-11 10:42:39,038 [192.168.0.84-PAVEL3] [HttpServerWorker-1] 
> ERROR HttpCoreNIOSender IO Error while submiting request message for 
> sending
> org.apache.axis2.AxisFault: problem accessing the parser. Parser 
> already accessed!
>     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>     at 
> org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:83) 
>
>     at 
> org.apache.synapse.transport.nhttp.Axis2HttpRequest.streamMessageContents(Axis2HttpRequest.java:221) 
>
>     at 
> org.apache.synapse.transport.nhttp.HttpCoreNIOSender.sendAsyncRequest(HttpCoreNIOSender.java:346) 
>
>     at 
> org.apache.synapse.transport.nhttp.HttpCoreNIOSender.invoke(HttpCoreNIOSender.java:256) 
>
>     at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
>
>
> Complete log attached.
> Thanks.
>