Hi,
I'm trying to call a web method that is expected to take 1min 10sec to complete, but ServiceClient invoke method is timing out after 15 seconds when running in a
TomCat 5.5 container, but not when running as a
junit test. When running as a junit test, the ServiceClient waits long enough (1min 10 sec) for the web method to return a result. I thought it may have been an issue with TomCat 5.5, so I then installed v6, but the app still timedout after 15 seconds under TomCat v6. The app is a web service using Axis2 v1.3. I'm using jdk 5.
These are the options I've set on my ServiceClient instance:
options.setTimeOutInMilliSeconds(120000);
options.setProperty(HTTPConstants.SO_TIMEOUT, 120000);
options.setProperty(HTTPConstants.CONNECTION_TIMEOUT, 120000);
options.setCallTransportClieanup(true);
These are the settings in my axis2.xml file:
ConfigContextTimeoutInterval=35000
requestTimeout=45000 (within the transportReceiver element)
These are the settings in my server.xml file under ${TOMCAT_HOME}/conf
connectionTimeout=55000 (within the Connector element)
I've run out of ideas as to what I could try next to get this web method call from timing out before 2 minutes.
I would really appreciate any help in getting this sorted.
Thanks,
Cheers,
Craig