«^»
4.2. Installing tomcat

Later, we will be installing Axis. The Axis Installation Guide at:
http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/install.html
says that you should get the latest 4.1.x version of tomcat. It also says that you should get the full distribution rather than the LE version as the LE version omits the Xerces XML parser. The Axis Installation Guide does not cover the installation of tomcat. However, there are installation notes for tomcat at:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt

These installation notes refer to downloading a binary distribution of tomcat from:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/nightly/
However, this directory is empty. So, instead go to:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/
and look for a subdirectory containing the latest 4.1.x release. For example, I downloaded from:

http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.18/bin/
The notes advise you to download a .zip file, a file with a name like jakarta-tomcat-4.1.18.zip. This file can be unzipped (perhaps using the jar command). I think it only writes into the directory that you choose.

However, although it is not mentioned in the installation notes, for Windows you can instead download a self-installation binary. This is in a file with a name like jakarta-tomcat-4.1.18.exe. This file was 8.45MB. Using a modem on a 33Kbps line, this took about 40 minutes to download.

After this .exe file has been downloaded, double click on jakarta-tomcat-4.1.18.exe whilst using Windows Explorer. An Apache Tomcat 4.1.18 Setup screen appears. It will first look for a Java 2 SDK directory. It found mine in:

E:\j2sdk1.4.1_02
Click on OK. A License Agreement form appears. Read it and click on I Agree. An Installation Options screen appears. The default is a Normal installation which it said requires 28.8MB of disc space. I took this and clicked on Next. It then wants to know where you want the files to be put. For me it defaulted to:
E:\Program Files\Apache Group\Tomcat 4.1
Elsewhere this is called the CATALINA_HOME directory. Click on Install. This installs most of the files, installing them into this directory. The only other directory I noticed it write into was:
E:\Documents and settings\barry\Start Menu\Programs\Apache Tomcat 4.1
Later, it displays a Test Install Setup screen. This defaults to a port of 8080, a username of admin and leaves it to you to choose a password. After typing something appropriate into the password box, click on Next. This installs a few more files, and then says Completed. Click on Close.

If you click on Start | Programs, you should find a menu item called Apache Tomcat 4.1. This menu allows you easily to start and stop tomcat.