Hello, I have a axis2 client. I some requests I get next situation: Aprox eight minutes after I get last trace "write to", after client close the connection and retrying the request. Second try is working properly. 11:53,979 DEBUG org.apache.commons.httpclient.Wire.wire - >> "f9c[\r][\n]" .................................................................. 12:02:03,217 DEBUG org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo - end writeTo( ) 12:02:03,219 DEBUG org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry - Closing the connection. 12:02:03,220 DEBUG org.apache.commons.httpclient.HttpConnection.close - enter HttpConnection. close() 12:02:03,221 DEBUG org.apache.commons.httpclient.HttpConnection.closeSocketAndStreams - ente r HttpConnection.closeSockedAndStreams() 12:02:03,222 INFO org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry - I/O e xception (org.apache.axis2.AxisFault) caught when processing request: Write failed: Se ha roto el canal de comunicaci�n 12:02:03,223 DEBUG org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry - Write failed: Se ha roto el canal de comunicaci�n org.apache.axis2.AxisFault: Write failed: Se ha roto el canal de comunicaci�n 12:02:03,227 INFO org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry - Retry request
Does anyone know something about it? How can I disable retrying request? I have tryed with this code but it is not working: MultiThreadedHttpConnectionManager manager = new MultiThreadedHttpConnectionManager(); HttpMethodRetryHandler retry_handler = new DefaultHttpMethodRetryHandler(0, false); HttpClientParams params = new HttpClientParams(); params.setParameter(HttpMethodParams.RETRY_HANDLER, retry_handler); _operationClient.getOptions().setProperty(HTTPConstants.CACHED_HTTP_CLIENT, new HttpClient(params, manager)); _operationClient.getOptions().setProperty(HTTPConstants.REUSE_HTTP_CLIENT, true); Thanks in advance. -- View this message in context: http://old.nabble.com/Error-Axis2-Client.-Retrying-request-after-eight-minutes-tp27499554p27499554.html Sent from the Axis - User mailing list archive at Nabble.com.