文章来源:http://www.360doc.com/showWeb/0/0/633410.aspx
Tags: tomcattomcat | iisiis
2007-7-28 2:22:03 | 编辑
winxp环境下整合tomcat5和iis5
第一步:准备相关的软件
1.下载jdk,并安装;(如何下载和安装就不讲了,这不是本文的重心。)
2.下载tomat并安装(tomcat下载解压版的和exe安装版的都行,本人用的是解压版的,版本 tomcat5.5.20)
3.下载安装iis,如果是服务器操作系统的应该已经安装好了,winxp的默认是不安装的。本人用的是iis5.1
4.下载jk最新版本,一个dll文件isapi_redirect.dll
第二步:开始整合配置
1.把isapi_redirect.dll作为isapi筛选器安装
2.为 isapi_redirect.dll创建一个虚拟目录,虚拟目录的名称为jakarta(不能随意,只能是这个),指向isapi_redirect.dll存放的目录。
3.编写isapi_redirect.properties文件,该文件的文件名必须和isapi_redirect.dll的名字一样,只是扩展名不同。
并且必须和isapi_redirect.dll放在同一目录里。
以下是我的文件的内容。
# Configuration file for the Jakarta ISAPI Redirector
# The path to the ISAPI Redirector Extension, relative to the website
# This must be in a virtual directory with execute privileges
extension_uri=/jakarta/isapi_redirect.dll
# Full path to the log file for the ISAPI Redirector
log_file=D:\apache-tomcat-5.5.20\logs\isapi_redirect.log
# Log level (debug, info, warn, error or trace)
log_level=info
# Full path to the workers.properties file
worker_file=D:\apache-tomcat-5.5.20\conf\workers.properties
# Full path to the uriworkermap.properties file
worker_mount_file=D:\apache-tomcat-5.5.20\conf\uriworkermap.properties
4.编写worker.properties属性文件。