Basic Tomcat 3.2.2 Config on with Windows 2000

I wrote this basic guide because there seemed to be a few people asking the same questions as me on the mailing list.  I am new to Tomcat so there might be better way but this might be useful to anybody in the same situation as me.  I am not responsible for any problems this may cause.

These are the steps/settings I used to get Tomcat 3.2.2 up and running on Windows 2000 Professional with Suns SDK 1.3.1.  It seemed to work fine.

This is a very basic configuration but it did allow me to hit the Tomcat test web site.  You still have a lot of configuring to do but at least you should have a working server to configure at this point.

Robert Upshall
rupshall@johnson.ca

1.
Download:
jakarta-tomcat-3.2.2.zip

2.
Extract the files into “C:\Programs Files\Apache Group\”

3.
Set the environment variables (System Properties->Advanced->Environment Variables)
1.	Set a new environment variable (TOMCAT_HOME) to point to the root directory of your Tomcat hierarchy. 
TOMCAT_HOME=C:\Progra~1\Apache~1\jakarta-tomcat-3.2.2
2.	Set the environment variable JAVA_HOME to point to the root directory of your JDK hierarchy, then add the Java interpreter to your PATH environment variable. 
JAVA_HOME = C:\java\jdk1.3.1
PATH= …… ;%JAVA_HOME%\BIN

4.
Modify the following file:
workers.properties
Update the following entries:
1.	workers.tomcat_home= C:\Progra~1\Apache~1\jakarta-tomcat-3.2.2
2.	workers.java_home=C:\java\jdk1.3.1
3.	ps=\

5.
Test to see if its works
1.	Start->Run->C:\Progra~1\Apache~1\jakarta-tomcat-3.2.2\bin\tomcat.bat start
2.	Open web browser and hit “http://localhost:8080/
3.	Start->Run->C:\Progra~1\Apache~1\jakarta-tomcat-3.2.2\bin\tomcat.bat stop

If the start was successful and the web browser displayed the Tomcat test page you did it.  If it didn’t work sorry, it worked for me.  Try the mailing list, somebody should be able to help.

If it did work you might want to consider Step 6.

6.(optional)
Install the service (optional)

Download:
jk_nt_service.exe

Copy “jk_nt_service.exe” into the tomcat bin directory

Modify the following file:
wrapper.properties
Update the following entries:
1.	wrapper.tomcat_home=C:\Progra~1\Apache~1\jakarta-tomcat-3.2.2
2.	wrapper.java_home=C:\java\jdk1.3.1

From a command line type:
1.	cd C:\Progra~1\Apache~1\jakarta-tomcat-3.2.2\bin\
2.	jk_nt_service -i Jakarta ..\conf\wrapper.properties

How to remove the service:
From a command line type:
1.	cd C:\Progra~1\Apache~1\jakarta-tomcat-3.2.2\bin\
2.	jk_nt_service -r Jakarta