I am using axis2 1.1.1 release. In my code I call
org.apache.axis2.client.ServiceClient.sendReceive(elem). It throws
following timeout exception after ~40 seconds. I have set
HTTPConstants.SO_TIMEOUT and HTTPConstants.CONNECTION_TIMEOUT properties
to 5 minutes. Has anyone run into this issue? Are there any other
timeout properties that I ned to set.

Thanks.

- Ninad

java.net.SocketTimeoutException: Read timed out; nested exception is: 

org.apache.axis2.AxisFault: Read timed out; nested exception is: 

java.net.SocketTimeoutException: Read timed out, . ., ITSVMsg.6, ,
org.apache.axis2.AxisFault: Read timed out; nested exception is: 

java.net.SocketTimeoutException: Read timed out; nested exception is: 

org.apache.axis2.AxisFault: Read timed out; nested exception is: 

java.net.SocketTimeoutException: Read timed out

at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Common
sHTTPTransportSender.java:227)

at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:674)

at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:237)

at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:202)

at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:579
)

at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508

...

Caused by: org.apache.axis2.AxisFault: Read timed out; nested exception
is: 

java.net.SocketTimeoutException: Read timed out

at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW
ithCommons(CommonsHTTPTransportSender.java:344)

at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Common
sHTTPTransportSender.java:204)

... 28 more

Caused by: java.net.SocketTimeoutException: Read timed out

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(SocketInputStream.java:129)

at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

at java.io.BufferedInputStream.read(BufferedInputStream.java:235)

at
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)

at
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)

at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.jav
a:1115)

at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBa
se.java:1832)

at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase
.java:1590)

at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java
:995)

at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMe
thodDirector.java:397)

at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMetho
dDirector.java:170)

at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:3
96)

at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:3
46)

at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(Abstrac
tHTTPSender.java:541)

at
org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSend
er.java:119)

at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW
ithCommons(CommonsHTTPTransportSender.java:335)

... 29 more


**********************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. Any 
unauthorized review, use, disclosure or distribution is prohibited. If you are 
not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.

Reply via email to