Results 1 to 1 of 1
- 02-08-2010, 04:26 PM #1
Member
- Join Date
- Feb 2010
- Posts
- 1
- Rep Power
- 0
Error Axis2 Client. Retrying request after eight minutes
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.SOAPMessageFormatt er.writeTo - end writeTo(
)
12:02:03,219 DEBUG org.apache.commons.httpclient.HttpMethodDirector.e xecuteWithRetry - 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.close SocketAndStreams - ente
r HttpConnection.closeSockedAndStreams()
12:02:03,222 INFO org.apache.commons.httpclient.HttpMethodDirector.e xecuteWithRetry - 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.e xecuteWithRetry - 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.e xecuteWithRetry - 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(HTTPCons tants.CACHED_HTTP_CLIENT, new HttpClient(params, manager));
_operationClient.getOptions().setProperty(HTTPCons tants.REUSE_HTTP_CLIENT, true);
Thanks in advance.
Similar Threads
-
Axis2 client to access https (self signed cert)
By rashera in forum Advanced JavaReplies: 2Last Post: 06-04-2010, 02:17 PM -
How to block Client request to connect with server
By mfaizan24 in forum NetworkingReplies: 3Last Post: 02-28-2010, 07:26 PM -
axis2 thread
By sheky in forum Java SoftwareReplies: 2Last Post: 01-06-2010, 10:38 AM -
socket communication taking 4 minutes to transfer 1mbytes to client
By santhosh_el in forum NetworkingReplies: 5Last Post: 11-01-2009, 05:16 PM -
How to post HTTPS request from java client to server
By Desai in forum NetworkingReplies: 1Last Post: 07-14-2007, 05:15 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks