r3 - 20 Apr 2006 - 04:12:00 - AntoonGoderisYou are here: myGrid wiki >  Mygrid Web  > IdeasStore > LightWeightWorkflowRepository > TavernaMiniRepositoryInstallationInstructions
-- AntoonGoderis - 03 Apr 2006

One way to install the 'Repository' module from Taverna CVS

Pre-setup:

  • Installed Apache Tomcat Web server 5.0.27
  • Taverna client 1.3.1

Instructions:

  • Copy all files from the Taverna CVS Repository module to a local 'Repository' directory
  • Edit the build.xml file to remove all references to jUnit. See the example build.xml
  • Copy all files in the Taverna client's 'lib' directory to the 'netlib' in 'Repository'
  • Remove all duplicate jars from 'netlib' which are already in 'lib' and 'devlib'
  • Execute 'build.bat'
  • Execute 'ant war'
  • Edit the resulting .war file with a tool like Power Archiver and remove the servlet-api-2.4-20040521.jar file (it ends up confusing Apache which uses a newer jar)
  • Deploy on your Apache server by copying war file into 'webapps' directory
  • Et voila, it should work

2 warnings I didn't get rid of, but which should be fine given that you've deleted servlet-api-2.4-20040521.jar:

  • java: [javac] Compiling 6 source files to C:\repository\build\classes [javac] C:\repository\build\src\net\sf\taverna\repository\server\DataServlet.java:63: warning: [deprecation] javax.servlet.http.HttpUtils in javax.servlet.http has been deprecated [javac] import javax.servlet.http.HttpUtils; [javac] ^
  • [javac] C:\repository\build\src\net\sf\taverna\repository\server\SubmitServlet.java:63: warning: [deprecation] javax.servlet.http.HttpUtils in javax.servlet.http has been deprecated [javac] import javax.servlet.http.HttpUtils; [javac] ^ [javac] 2 warnings

Note: When installing the module on a different Windows machine, Jasper complained it couldn't find the javac. Solution was to copy tools.jar from $JDK/lib to $Catalina/common/lib, after which the error went away.

toggleopenShow attachmentstogglecloseHide attachments
Topic attachments
I Attachment Action Size Date Who Comment
xmlxml build.xml manage 11.2 K 03 Apr 2006 - 10:45 AntoonGoderis Example build.xml file
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Powered by myGrid wiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding myGrid wiki? Send feedback