I have an application based on flex client and blazeds at the server side. Scenario: 1. Client makes a remoting call over secure-amf channel. 2. Server takes some time processing the request usually more than 60 seconds
When server side code tries to write back to the pipe over which the connection is made. it reports broken pipe error.
I have found several queries on this topic without any conclusive solution.
Error log at servier side: [BlazeDS]java.io.IOException: Broken pipe Write failed: Broken pipe
Here is my serives-config.xml snippet.
<channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
<endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
<properties>
<add-no-cache-headers>false</add-no-cache-headers>
</properties>
</channel-definition>