I have successfully installed Tomcat on W2k. Here are the steps that I followed. These are based on the IIS HowTo doc.
Running Tomcat on Windows 2000 Server
Document Conventions and Assumptions
%TOMCAT_HOME% is the root directory of Tomcat. Your Tomcat installation should have the following subdirectories:
%TOMCAT_HOME%\conf - Where you can place various configuration files
%TOMCAT_HOME%\webapps - Containing example applications
%TOMCAT_HOME%\bin - Where you place web server plugins
In all the examples in this document %TOMCAT_HOME% will be D:\app\tomcat.
%JAVA_HOME% is the directory where JDK1.3 has been installed. For all examples that require a path I will be using D:\app\java\j2sdk_1.3
A worker is defined to be a tomcat process that accepts work from the IIS server.
Installation
Tomcat Downloads
Tomcat 3.2.1 for win32
Tomcat 3.2.1 Servlet API
isapi_redirect.dll
nsapi_redirect.dll
ApacheModuleJServ.dll
jk_nt_service.exe
jni_connect.dll
Installation steps
Install Tomcat
Install optional files
Modify environment variables
Modify Tomcat configuration files
Modify registry
Create a virtual directory
Install Tomcat 3.2.1
Download Tomcat 3.2.1 for win32
Unzip jakarta-tomcat-3.2.1.zip
Move the directories and files into %TOMCAT_HOME%
Install optional files
Move isapi_redirect.dll to %TOMCAT_HOME%\lib
Move ApacheModuleJServ.dll to %TOMCAT_HOME%\lib
Move jni_connect.dll to %TOMCAT_HOME%\lib
Move nsapi_redirect.dll to %TOMCAT_HOME%\lib
Move jk_nt_service.exe to %TOMCAT_HOME%\bin
Modify environment variables
Goto your desktop
Right click on My Computer
Click Properties
Click on the Advanced tab
Click the Environment Variables button
Click the New button in the System Variables group to create a new system wide environment variable
Create the following variables
name = JAVA_HOME value = D:\app\java\j2sdk_1.3
name = TOMCAT_HOME value = D:\app\tomcat
Modify Tomcat configuration files
Modify the following files as indicated
%TOMCAT_HOME%\conf\jni_workers.properties
Replace all instances of c:\jdk1.2.2 with the value of JAVA_HOME
Replace all instances of c:\jakarta_tomcat with the value of TOMCAT_HOME
%TOMCAT_HOME%\conf\jni_server.xml
Replace all instances of c:\jdk1.2.2 with the value of JAVA_HOME
Replace all instances of c:\jakarta_tomcat with the value of TOMCAT_HOME
%TOMCAT_HOME%\conf\wrapper.properties
wrapper.tomcat_home = the value of TOMCAT_HOME
wrapper.tomcat_home = the value of JAVA_HOME
%TOMCAT_HOME%\conf\obj.conf
Replace all instances of c:/jakarta-tomcat/bin/win32/i386 with D:/app/tomcat/lib
Replace all instances of c:/jakarta-tomcat with D:/app/tomcat
Replace all instances of d:/web-servers/ent3.6/ with d:/inetpub/wwwroot/
%TOMCAT_HOME%\tomcat.properties
security.selfservlet=false
Modify registry
In the registry, create a new registry key named HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0
Add a string value with the name extension_uri and a value of /jakarta/isapi_redirect.dll
Add a string value with the name log_file and a value pointing to where you want your log file to be (for example d:\\app\\tomcat\\logs\\isapi.log).
Add a string value with the name log_level and a value for your log level (can be debug, info, error or emerg).
Add a string value with the name worker_file and a value which is the full path to your workers.properties file (for example D:\\app\\tomcat\\conf\\workers.properties)
Add a string value with the name worker_mount_file and a value which is the full path to your uriworkermap.properties file (for example D:\\app\\tomcat\\conf\\uriworkermap.properties)
Create a virtual directory
Open the Internet Services Manger [Start | Programs | Administrative Tools | Internet Services Manager]
Right click on the Default Web Site node
Select New from the popup menu
Select Virtual Directory from the 'New' popup menu
Click the Next button
Enter jakarta for the value of alias
Click Next
Enter the full path of the location where the isapi_redirect.dll file is located. For example: D:\app\tomcat\lib\isapi_redirect.dll
Click Next
Check Read, Run scripts (such as ASP), Execute (such as ISAPI or CGI)
Uncheck Write and Browse
Click Next
Click Finish
Right click on the jakarta virtual directory
Select Properties from the popup menu
Click the Directory Security tab
Check Anonymous access
Uncheck Basic Authentication (password is sent in clear text)
Uncheck Integrated Windows Authentication
Click the Edit button in the Anonymous access group
Click Browse
Select the TOMCAT account
Click Ok
Change the username from MACHINE\TOMCAT to TOMCAT
Check Allow IIS to control password
Click Ok
Click on the HTTP Headers tab
Check Enable Content Expiration
Select the Expire Immediately option
Click Ok
Right click on the Default Web Site
Select Properties from the popup menu
Click on the ISPAI filters tab
Click Add
Enter jakarta for the Filter Name
Enter the full path and file name for the isapi_redirect.dll file. Example: D:\app\tomcat\lib\isapi_redirect.dll
Click Ok
Click Ok
Restart IIS by clicking stop then start for the Default Web Site
Right click on the Default Web Site and select Properties from the popup menu
Click on the ISPAI filters tab
Ensure that the jakarta filter has a green up arrow next to it.
Click Ok
Setup is complete. To start Tomcat open a command line window. Run %TOMCAT_HOME%\bin\startup.bat.
Open http://localhost/examples/jsp/index.html for example and execute some of the JSP examples.
Refer to your Tomcat IIS HowTo for additonal information regarding adding contexts and troubleshooting.
-----Original Message-----
From: Mike McFadden [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 9:27 AM
To: [EMAIL PROTECTED]
Subject: IIS and Tomcat integration on Windows 2000?
Has anyone tried to integrate IIS and Tomcat on the Win 2000 platform.
I am using Tomcat 3.2.1. If so, what versions did you use and were
there any unexpected challenges?
Thanks,
=====
Mike McFadden
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
