You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Sicco Strampel <ss...@bkwi.nl> on 2012/08/14 14:45:23 UTC

synapse tomcat webapp servlet issue

Hi Devs,

When deploying Synapse as a web application in Tomcat and sending messages to the default servlet (so not using the NHTTP port 8280), only every other request to Synapse gets a response. This problem disappears when i configure a different transportReceiver and transportSender in the axis2.xml configuration like this:

<transportReceiver name="http" class="org.apache.axis2.transport.http.AxisServletListener">
    <parameter name="PROTOCOL">HTTP/1.1</parameter>
    <parameter name="Transfer-Encoding">chunked</parameter>
</transportReceiver>

<transportSender name="http" class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
    <parameter name="PROTOCOL">HTTP/1.1</parameter>
    <parameter name="Transfer-Encoding">chunked</parameter>
</transportSender>

But when using this configuration, the Synapse clone/aggregate mediator doesn't work anymore.

This issue (or closely related) has been reported more than a year ago in the Apache Jira as SYNAPSE-777 (https://issues.apache.org/jira/browse/SYNAPSE-777), but is still unresolved.

Any idea on how to resolve this servlet issue will be greatly appreciated.

Kind regards,

Sicco Strampel
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org