Archive for the 'Taverna' Category


How To Install Tomcat on Mac OS X 0

Was in a Taverna (http://taverna.sourceforge.net) workshop the other day and one of the exercises requires Tomcat to be installed, so I set out to find the quickest, as well as the easiest, way of installing Tomcat on my PowerBook. It turned out to be pretty straight-forward after a bit of Googling, and here is how:

Step 1

Download the latest *Core* binary distributions of Tomcat from http://tomcat.apache.org (currently in 6.0.13 as of writing).
p.s. Do not download the Windows service installer.

Step 2

Unzip the downloaded binary file into an empty folder of your choice and rename that folder from “apache-tomcat-x-x-xx” to something simpler, e.g. “Tomcat”.

Step 3

Move that folder to a directory of your choice (preferably the “Library” directory under the Root, i.e. ~/Library/) and there you go the Tomcat is installed.

To test and see if your Tomcat installation is successful, start your Terminal and move to the “bin” folder within Tomcat directory (e.g. ~/Library/Tomcat/bin/) and run the following shell script:

./startup.sh

and you should see something similar to the following info in your terminal:

/Library/Tomcat/bin andytseng$ ./startup.sh
Using CATALINA_BASE: /Library/Tomcat
Using CATALINA_HOME: /Library/Tomcat
Using CATALINA_TMPDIR: /Library/Tomcat/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home

If you see the above information, then open your Web browser and type in the following into your URL:

http://localhost:8080

To stop the Tomcat, issue the following command:

./shutdown.sh

That’s it, simple!! 🙂