Tomcat6.0 integration with the Windows 2003 server's IIS servers _tomcat

Source: Internet
Author: User
1, to the corresponding Web site download jdk and Tomcat
http://www.sun.com/

http://tomcat.apache.org/
2. Install the JDK and configure the environment variables

3, http://tomcat.apache.org/connectors-doc/Download the isapi_redirect.dll above and use the 1.2.27 version here.
and copy the Isapi_redirect-1.2.27.dll to the <catalina_home>/bin directory.
4, in the <catalina_home>/conf directory, the creation of workers.properties files, through the document will JDK and
Tomcat directory tells the system. The specific contents are as follows:

Workers.tomcat_home=d:\program Files\apache Software foundation\tomcat 6.0 #让
MOD_JK module knows Tomcat
Workers.java_home=d:\program files\java\jdk1.6.0_10 #让mod_jk模块知道j2sdk
Ps=\ #指定文件路径分割符
Worker.list=worker1
worker.worker1.port=8009 #工作端口, without modification if not occupied
Worker.worker1.host=localhost #Tomcat服务器的地址
WORKER.WORKER1.TYPE=AJP13 #类型
Worker.worker1.lbfactor=1 #负载平衡因数

5, in the <catalina_home>/conf directory, create Uriworkermap.properties file, in the file, write
Specify which files and which paths use Tomcat to provide services, rather than through IIS.

/*.jsp=worker1
/helloapp/*=worker1
/cube/*=worker1

6, through the Jk.reg modify the registry, or directly modify the manual

Windows Registry Editor Version 5.00
[Hkey_local_machine\software\apache SOFTWARE Foundation\jakarta Isapi redirector\1.0]
"Extension_uri" = "/jakarta/isapi_redirect-1.2.27.dll"
"Log_file" = "D:\\Program files\\apache Software foundation\\tomcat 6.0\\logs\\isapi.log"
"Log_level" = "Debug"
"Worker_file" = "D:\\Program files\\apache Software foundation\\tomcat 6.0\\conf
\\workers.properties "
"Worker_mount_file" = "D:\\Program files\\apache Software foundation\\tomcat 6.0\\conf
\\uriworkermap.properties "



7. Configure IIS









Modify the corresponding execution permissions




Open the corresponding service extension





Restart Tomcat, and then you can enter http://localhost/index.jsp to access Tomcat's home page.
Download the related files in the paper
Related Article

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.