sfarrow
11-04-2003, 07:37 AM
Executing an HTTP request from a dataset coded like this:
<dataset name="queryDS" request="false" type="http" src="http://localhost:8080/app/laszlo/query/execute"
ondata="debug.write('query succeeded')"
onerror="debug.write('query failed"/>
When the request is fullfilled by the web service within a few seconds all works fine. When the web service takes longer (around 1 minute), the request times out and I see the following on the Jetty console:
- Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception
- retrying a recoverable exception: java.net.SocketTimeoutException: Read timed out
- com.laszlosystems.data.DataSourceException: http://localhost:8080/app/laszlo/query/execute?chunkParam=xmlArg&chunkState=done&chunk=%27%27 timed out
- Responding with error SWF: http://localhost:8080/app/laszlo/query/execute?chunkParam=xmlArg&chunkState=done&chunk=%27%27 timed out
Not sure what is initiating the timeout (Laszlo/Jetty) and how I can control the length of the timeout to accommodate my longer requests.
Any insight and assistance would be greatly appreciated.
Steve.
<dataset name="queryDS" request="false" type="http" src="http://localhost:8080/app/laszlo/query/execute"
ondata="debug.write('query succeeded')"
onerror="debug.write('query failed"/>
When the request is fullfilled by the web service within a few seconds all works fine. When the web service takes longer (around 1 minute), the request times out and I see the following on the Jetty console:
- Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception
- retrying a recoverable exception: java.net.SocketTimeoutException: Read timed out
- com.laszlosystems.data.DataSourceException: http://localhost:8080/app/laszlo/query/execute?chunkParam=xmlArg&chunkState=done&chunk=%27%27 timed out
- Responding with error SWF: http://localhost:8080/app/laszlo/query/execute?chunkParam=xmlArg&chunkState=done&chunk=%27%27 timed out
Not sure what is initiating the timeout (Laszlo/Jetty) and how I can control the length of the timeout to accommodate my longer requests.
Any insight and assistance would be greatly appreciated.
Steve.