Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

Tomcat axis web service client read timeout. Timeout configuration

0

200 views

I have a socket read timeoput in Tomcat web app accessing a remote web service. The timeout is exactly 10 minutes. I have trouble finding the configuration responsible for this. Is this some kind of default?

asked January 10, 2011 6:37 am CST
posted via StackOverflow

3 Answers

0
 

I found a link here: http://axis.apache.org/axis/java/client-side-axis.html#AxisProperties, it mentions CONNECTION_TIMEOUT_PROPERTY but does not specify any default on it.

answered January 12, 2011 9:16 pm CST
0
 

In your case timeouts might be set in Axis configuration. See Timeout Configuration.

Or try to set your timeout programatically (Axis client options)

answered January 12, 2011 9:16 pm CST
1
 

It comes from DEFAULT_MESSAGE_TIMEOUT in org.apache.axis.Constants

/**
 * The default timeout for messages.
 *
 * @since Axis1.2
 */
public static final int DEFAULT_MESSAGE_TIMEOUT=60*1000*10;

used in org.apache.axis.MessageContext

/**
 * Maximum amount of time to wait on a request, in milliseconds.
 */
private int          timeout = Constants.DEFAULT_MESSAGE_TIMEOUT;

So it seems a kind of default.

answered January 14, 2011 1:43 pm CST

Your answer

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect

Preview
Similar questions
Name of MySQL service?
December 28, 2010