PDA

View Full Version : Using IIS


wensoft
08-26-2004, 11:29 AM
I cannot locate 'isapi_redirect.dll' at http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release

Please advise

Thanks,



REB

antun
08-26-2004, 11:47 AM
Hmmm, that page seems to be missing it. Maybe it was removed. I'm attaching the one I used, as well as the most recent set of instructions I have:


================================================== ============================
Tomcat IIS Configuration Installation Notes
By Antun Karlovac
================================================== ============================

================================================== ============================
Introduction
================================================== ============================
These instructions were written for:
LPS 2.1.2 (Tomcat 4.1.12)
Windows XP Professional
IIS 5.1
JK 1.2
================================================== ============================


================================================== ============================
Prerequisites
================================================== ============================
In my case TOMCAT_HOME is:
C:\Program Files\Laszlo Presentation Server 2.1.2\jakarta-tomcat-4.1.12
Following these instructions:
http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html

Downloaded isapi_redirect_1.2.6.dll from
http://jakarta.apache.org/site/binindex.cgi
Renamed it to isapi_redirect.dll
================================================== ============================


================================================== ============================
Installation Steps
================================================== ============================
----
Read "Configuring Tomcat" here for background:
http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html
--
- Add the following entry to server.xml, making sure that it is inside of the <Service> element and immediately follows any previously-defined <Connector> elements:
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0"/>
- Comment out all other Connectors listening on port 8009 in server.xml. Mine had 2.
- Comment out two <Listener> tags in server.xml:
org.apache.catalina.mbeans.ServerLifecycleListener
org.apache.catalina.mbeans.GlobalResourcesLifecycl eListener
- Create workers.properties in C:\Program Files\Laszlo Presentation Server 2.1.2\jakarta-tomcat-4.1.12\conf :
worker.list=testWorker
worker.testWorker.port=8009
worker.testWorker.host=localhost
worker.testWorker.type=ajp13
- Create uriworkermap.properties in C:\Program Files\Laszlo Presentation Server 2.1.2\jakarta-tomcat-4.1.12\conf:
/lps-2.1.2/*=testWorker
/lps-2.1.2/*.lzx=testWorker
/lps-2.1.2/*.lzo=testWorker
/lps-2.1.2/servlet/*=testWorker
- Edited the windows registry using regedit32.exe:
HKEY_LOCAL_MACHINE
SOFTWARE
Apache Software Foundation
Jakarta Isapi Redirector
1.0
I had to add Jakarta Isapi Redirector and onwards as keys.
Added following Name/Value pairs
Name Data
extension_uri /tomcat/isapi_redirector.dll
worker_file C:\Program Files\Laszlo Presentation Server 2.1.2\jakarta-tomcat-4.1.12\conf\workers.properties
worker_mount_file C:\Program Files\Laszlo Presentation Server 2.1.2\jakarta-tomcat-4.1.12\conf\uriworkermap.properties
log_file C:\Program Files\Laszlo Presentation Server 2.1.2\jakarta-tomcat-4.1.12\conf\logs\jk_iis.log
log_level debug
- Copied dll to TOMCAT_HOME/conf/isapi_redirect.dll (renamed).
- Control Panel > Administrative Tools > Internet Information Services Application
Default Web Site (right click) > New > Virtual Directory
Use "tomcat" as the alias
Browse to the TOMCAT_HOME/conf directory.
Make sure that permissions are set to read, run and execute.
- Right click Default Web site and click properties
ISAPI Filters tab
Click add
Enter "tomcat" as filter name and browse to the isapi_redirector.dll file.
- REBOOT your machine. Mine did not work until I had done so.
----

-Antun