Update : The JK2 Connector is no longer supported. I have written an updated guide which you can find here : http://www.iisadmin.co.uk/?p=40
I have also written a guide for installing Tomcat with IIS 7.0 which you can find here : http://www.iisadmin.co.uk/?p=72
For this installation I used the following :
Windows Server 2003 Enterprise Edition
Internet Information Services (IIS) 6.0
Sun Java Runtime JRE 5.0 Update 2
Apache Jakarta Tomcat version 5.5.9
The JK2 Tomcat Web Server Connectors
Note: Previous versions of Tomcat required the Java SDK to be installed. However, as of version 5.5 Tomcat only requires the Java runtime environment. In fact the release notes for Tomcat 5.5.9 say this,
“Tomcat 5.5 is designed to run on J2SE 5.0 and later, and requires configuration to run on J2SE 1.4. Make sure to read the “RUNNING.txt” file in this directory if you are using J2SE 1.4.
In addition, Tomcat 5.5 uses the Eclipse JDT Java compiler for compiling JSP pages. This means you no longer need to have the complete Java Development Kit (JDK) to run Tomcat, but a Java Runtime Environment (JRE) is sufficient.”
Install the JRE
Install the JRE and choose a custom installation which will allow you to change the installation directory to D:\java (or C:\Java if you prefer)
Select a Custom Installation and click Next
Choose the target Installation Directory and click OK
When the installation finishes click Finish
Once this is done you need to set a system environment variable which will enable Tomcat to compile JSP pages at runtime. To do this right-click the My Computer icon, select properties and then the Advanced tab. Then click Environment Variables and under System variables click New.
Then add a new system variable with the name of JAVA_HOME and a value of D:\Java (or whichever directory you specified for your Java installation)
Tomcat also requires a system environment variable to be set so you may as well go ahead and do that whilst you’re here. The Tomcat variable is called CATALINA_HOME and needs to be a system variable which points to the root of your Tomcat installation directory. In this example I am going to install Tomcat into D:\Tomcat so I set the variable accordingly.