Wouldn't setting timeout value in mygrid.properties be a lot easier than the 
implementation given in that example?  I mean if Taverna 2 allows users to 
change the default timeout length, I would rather not to bother the extra 
coding.

I donot quite understand how that example avoids the timeout.  checkStatus 
returns the job status, say "RUNNING", then the beanshell "IS_DONE" returns 
'false', and then the local worker 'success' would raise an exception.  Those 
just do not make sense to me.  How does it exactly work?

Thanks again for your help, really appreciate.

Fan




________________________________
From: "[email protected]" <[email protected]>
To: Fan Dong <[email protected]>
Cc: [email protected]
Sent: Saturday, July 18, 2009 4:17:17 PM
Subject: RE: [Taverna-users] Service timeout


> If I implement the service asynchronously, i.e., get rid of waitfor(),
> the next service in the pipeline will suffer because the input might
> have not been returned by its predecessor.

In the asynchronous case you should call your services differently. One
way of calling asynchronous services can be seen in the following workflow
(see the box EBI_ClustalW2_poll_job and its relation with the run call and
the get result calls)

http://www.myexperiment.org/workflows/203

Regards,
Mahmut


      __________________________________________________________________
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot 
with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail 
today or register for free at http://mail.yahoo.ca
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/

Reply via email to