On 20/09/2012 12:49, Alan R Williams wrote:
I tried to define LIB_PATH in the executeworkflow.sh, but this does
not work either.

How can I indicate the directory where Taverna should look for jars?

I am copying this to Donal Fellows who "looks after" the Taverna Server.
He will be able to tell you if it can be done.

Summary: Not with the standard executeworkflow.sh. Workaround suggested
below.

Control of the location of the plugin directory is done via the system
raven.launcher.app.home property[*], which *must* be set during the
startup of the Taverna engine (you can't usefully set it from a
beanshell; that's far too late), but that's not a property that there's
any mechanism for setting with the standard executeworkflow.sh. Taverna
Server (from 2.3 onwards) deals with this by using an extended workflow
runner that allows for much greater finesse over these sorts of things
(and in fact sets this specific property so as to make installing a
support library really easy for a workflow user) but that's not done in
the workbench or the normal command line tool, where you're going to
have to use the default.

If you're in a hurry, try using the version of executeworkflow.sh from
the URL below and then run it with the RAVEN_APPHOME environment
variable set to the location you want to contain a lib directory:

http://taverna.googlecode.com/svn-history/r14271/taverna/product/uk.org.taverna.server/branches/2.3-release/server-webapp/src/main/replacementscripts/executeworkflow.sh

Note that this affects many other things too; some experimentation may
be required to get everything correct for a run. (I forget exactly what
is needed since I've written the results of my research as code in the
implementation of Taverna Server.) Also note that the current version of
Taverna Server uses a substantially more complex version of the script,
which I don't feel like talking through here today. :-)

Donal.
[* The default is equivalent to setting it to the user's home directory
if memory serves me correctly. If I'm wrong, it's the parent directory
whatever place the workbench tells you to put beanshell support libs in... ]

<<attachment: donal_k_fellows.vcf>>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/

Reply via email to