The University of Aberdeen
The Computing Science Department

Apache Tomcat

Tomcat Logo

PREREQUISITES

Requirements: You should already have installed Java JDK 1.5.x or higher and set JAVA_HOME in your environment to point to where you installed the Java jdk

The Installation Steps

Download the latest 6.0.x version of Tomcat and be sure to get the zip or tar.gz version. The .exe version will cause problems if you install it instead.

Install it to something like C:\Java\apache-tomcat-6.0.x.

After you download the Connector J library from MySQL, then copy the jar in that download to the 'lib' directory of Tomcat.

Special instructions for CS5010 (Semantic Web Engineering) and Cocoon

On the information page for CS5010 you'll find a link to Cocoon, whichis pre-bundled inside of Tomcat. You should run this separately from your other version of Tomcat. Cocoon takes a while to load up and install. This means if you're stopping and starting Tomcat with Cocoon inside of it, then this will slow down your development.

Therefore you're better to have a separate installation of Tomcat just for cocoon, so that your other version can run more quickly.

Warning: If you want to run both versions simultaneously, then you'll need to open the server.xml file and change the port number for one of them from 8080 to something else, or you'll end up with only the first one started running and the other will complain about ports being used.


Please let me know of any problems encountered following this guide.