Tomcat 5.0.28 is integrated with IIS6.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.