1. Install JDK and tomcat 5.0.28
2. Store isapi_redirect.dll to a directory (tomcatpluginiis), create a virtual directory Jakarta, and set the executable.
3. Modify the Registry
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Apache Software Foundation \ Jakarta ISAPI redirector]
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Apache Software Foundation \ Jakarta ISAPI redirector \ 1.0]
"Extension_uri" = "/Jakarta/isapi_redirect.dll"
"Worker_mount_file" = "d :\\ service \\ Tomcat 5.0 \ conf \\ uriworkermap. properties"
"LOG_FILE" = "D: \ service \ Tomcat 5.0 \ logs \ ISAPI. log"
"Worker_file" = "D: \ service \ Tomcat 5.0 \ conf \ workers2.properties"
"Log_level" = "debug"
4. modify the configuration file under D: \ service \ Tomcat 5.0 \ conf.
A). Create workers2.properties,
[SHM]
File = D:/service/tomcat 5.0/logs/jk2.log
Size = 1048576
# Replace all localhost and 8009 with your own IP address and port.
[Channel. Socket: localhost: 8009]
Port = 8009
Host = localhost
# Define the worker
[Ajp13: localhost: 8009]
Channel = channel. Socket: localhost: 8009
# URI Mapping
[URI:/*. jsp]
[URI:/web/*]
Worker = ajp13: localhost: 8009
# Define the worker
[Status: Status]
# URI Mapping
[URI:/jkstatus/*]
Worker = Status: Status
B). Create uriworkermap. Properties
/Index. jsp = worker1
/* = Worker1
/Servlet/* = worker1
C) add it to the jk2.properties file.
Request. tomcatauthentication = false
5. For IIS 6, add a new Web Service extension in Web Service extension.
Extension: tomcat, required file: isapi_redirect.dll
And select "set extended status to allow ".
6. Add ISAPI to site attributes
Filter Name: tomcat, file isapi_redirect.dll;
7. Add the JSP ing of JSP files.
IIS6 should also be set to iis5 Isolation Mode, "Internet Information Service Manager"-> "website"-> "attribute"-> "service ", check "Run WWW Service in iis5.0 Isolation Mode. However, it can be used normally without being checked. If the configuration is not successful, you can try this.
8. added a virtual site for Tomcat.
<Host name = "hzemarket.com" DEBUG = "0" appbase = "D: \ webfiles \ hzearket" unpackwars = "true" autodeploy = "true">
9. Create a site in IIS. Point to D: \ webfiles \ hzearket \ Root
The root directory name is required.