Consolidate IIS6 and TOMCAT5 on Windows 2003

Source: Internet
Author: User
Tags define iis socket win32 tomcat

First describe my system, Windows 2003 Server Chinese version +iis6+tomcat5.0.14,jdk 1.4.2 installation directory for C:\JDK,TOMCAT installation directory for C:\TOMCAT, environment variables Java_home and Tomcat The _home are set and point to their respective installation directories. (Note that all files involved in the Tomcat path are then modified to their own Tomcat path)

TOMCAT5 and IIS6 installation I do not say, the Web documents a lot, assuming that we have installed the TOMCAT5 and IIS6 and can run independently, both of the default Web site are pointing to the C:\web directory.

Now all we have to do is go to http://apache.linuxforum.net/dist/jakarta/tomcat-connectors/jk2/binaries/win32/. Jakarta-tomcat-connectors-jk2.0.2-win32-iis.zip to download JK2, the JK2 is responsible for IIS and Tomcat communication, after the unlock to get isapi_redirector2.dll, I put it in the C:\ Tomcat\iis (directory casually).

Next in the Tomcat installation directory under the Conf directory to build a workers2.properties file, the following section of the east to save. Pay attention to file= "..." The path to use "/" Oh!

    [shm]
   file=c:/Tomcat/logs/jk2.log
   size=1048576
   # 实际运用时把所有的localhost和8009换成你自己的IP和端口
   [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



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.