3 messages in net.sourceforge.lists.taverna-usersRe: [Taverna-users] Taverna workflow ...
FromSent OnAttachments
Anika JoeckerApr 10, 2007 6:01 am 
Stian SoilandApr 11, 2007 2:31 am 
Anika JoeckerApr 11, 2007 5:05 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [Taverna-users] Taverna workflow execution without GuiActions...
From:Anika Joecker (joec@mpiz-koeln.mpg.de)
Date:Apr 11, 2007 5:05:39 am
List:net.sourceforge.lists.taverna-users

Dear Stian,

thank you very much for your help. I had a look at the MyLauncher application and try to understand how it works. Afterwards I changed my code in:

TavernaSPIRegistry.setRepository(((LocalArtifactClassLoader)getClass().getClassLoader()).getRepository()); File workflowXmlFile = new File(workflow); URL workflowURL = workflowXmlFile.toURI().toURL(); WorkflowLauncher launcher = new WorkflowLauncher(workflowURL); outputs=launcher.execute(inputs);

But now I got this Java Exception: java.lang.ClassCastException: sun.misc.Launcher$AppClassLoader at this line: TavernaSPIRegistry.setRepository(((LocalArtifactClassLoader)getClass().getClassLoader()).getRepository());

Any idea how can I solve this problem? And do you know a good documentation web site for Raven?

If the Web Service is ready, I will be happy to use it :-), but at the moment I am afraid I have to use this solution.