EMBL-EBI Soaplab server has 2 timeout settings.
maximum reply time timeout, which is 5 minutes
job timeout, which is 5 hours
The first timeout means if you use
runAndWaitFor methods but your job cannot be completed within 5 minutes you will get an error. The second timeout means jobs are terminated if they cannot be completed within 5 hours after they have been started.
If you want to make sure that you don't hit the first timeout limit, one solution would be to use
getResults series of calls, rather than the
waitFor calls or the
Taverna users can use polling support to avoid timeout errors. Right clicking a Soaplab processor in Taverna brings a menu, here select 'Configure Polling Properties' option which should open a menu window. In the menu window one should select the 'Polling' check box and press 'Apply' button to activate polling support for the processor.
Soaplab job results are deleted 10 hours after their submission.
getStatus operation returns one of the following values:
CREATED: job has been created but not yet executed
RUNNING: job is currently being processed
COMPLETED: job has finished, its results can be retrieved
TERMINATED_BY_ERROR: job was terminated due to an error
TERMINATED_BY_REQUEST: job was terminated either by user request or by Soaplab job manager