I downloaded the latest Taverna 2.1 beta for Mac OS and am trying to convert my 
workflow but have run into some apparently bugs. 

First, what is the key combination for a right click? Command-click worked in 
Taverna 1, but appears to do nothing on Taverna 2. I got a USB mouse so I could 
keep editing but this is not a great long term solution. 

Second, when the workflow converted, all of the default values turned into 
string constants. Their appearance prompted me to rewrite the relevant bean 
scripts, which meant I could delete all the new string constants. However, 
after deleting about 10 or 12, Taverna stopped responding. I killed it after it 
was hung for a few minutes as reported by Mac OS. This behaviour was 
repeatable--deleting a number of processors in succession would seemingly hang 
Taverna.  

Third,  this version is said to support JDBC and indeed, there are JDBC 
processors in the local list. But I'm dubious that anyone every actually tried 
them, since there are typos in the automatically provided beanshell code for 
the Execute SQL query processor that keep it from working. Specifically, on 
line 100, it reads:

        if (con != null) }
                con.close();
        }

(A closing brace after the if rather than an opening one.) It's hard to imagine 
this going unnoticed if anyone had tried it. I fixed that typo (and one other 
that wasn't immediately tickled, e.g., (throw new RuntimeExcecption("Class " + 
driver + " not found"). With this patch, running a query against our MySQL 
server gets an error about trying to reference a null variable referring to 
these lines (about line 93, I think):

        if (rs != null) {
                rs.close();
        }

I fixed this by adding some initialization at the top of the bean shell:

con = null ; 
ps = null ; 
rs = null ; 

Now executing the workflow complains about an uncaught NullPointerException in 
the SQL query beanshell--it's not clear from where unfortunately. 

Also unfortunately, there does not appear to be any way to save the workflow 
I've spent all day working on back to Taverna 1, so I'm pretty much stuck at 
this point. Has anyone had any luck with Taverna 2 and JDBC or suggestions 
about how to proceed (or move back)? 


Kevin Crowston
Syracuse University                                     Phone:  +1 (315) 
464-0272
School of Information Studies                   Fax:    +1 (866) 265-7407
348 Hinds Hall                                          Web:    
http://crowston.syr.edu/
Syracuse, NY   13244-4100   USA                


Kevin Crowston
Syracuse University                                     Phone:  +1 (315) 
464-0272
School of Information Studies                   Fax:    +1 (866) 265-7407
348 Hinds Hall                                          Web:    
http://crowston.syr.edu/
Syracuse, NY   13244-4100   USA                


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
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