tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Puppetto <>
Subject Re: IIS 6 Tomcat Connector isapi_redirect-1.2.28.dll not being called 404 2 1260 error
Date Thu, 03 Dec 2009 14:31:51 GMT

I was 2 days trying to make it working on my Windows 2003 server.

Following the right minimum procedure:

On my server (IIS 5.0) I've installed tomcat in D:\Program Files\Apache
Software Foundation\Tomcat 6.0.

Then I've downloaded isapi_redirect-1.2.28.dll.

I've renamed it in isapi_redirect.dll and put in D:\Program Files\Apache
Software Foundation\jakarta.

Then I've inserted the following keys in the registry creating the following
file .reg file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta ISAPI



"log_file"="D:\\Program Files\\Apache Software Foundation\\Tomcat

"worker_file"="D:\\Program Files\\Apache Software Foundation\\Tomcat

"worker_mount_file"="D:\\Program Files\\Apache Software Foundation\\Tomcat

I created in D:\Program Files\Apache Software
Foundation\Tomcat 6.0\conf containing the following text:





I created in D:\Program Files\Apache Software
Foundation\Tomcat 6.0\conf containing the following text:



#Simple worker configuration file 


#Mount the Servlet context to the ajp13 worker 



Using the IIS management console, add a new virtual directory to your IIS
web site. The name of the virtual directory must be jakarta. Its physical
path should be the directory where you placed isapi_redirect.dll (in our
example it is c:\tomcat\bin\win32\i386). While creating this new virtual
directory assign it with execute access. 

Using the IIS management console, add isapi_redirect.dll as a filter in your
IIS web site. The name of the filter should reflect its task (I use the name
tomcat), its executable must be our D:\Program Files\Apache Software
Foundation\jakarta\isapi_redirect.dll. Using the IIS management console, add
the Jakarta Isapi Redirector to the Web Service Extensions. 

Right-click on Web Service Extensions and choose Add a new Web Service
Enter tomcat for the Extension Name.
Add the isapi_redirect.dll to the required files. 
Check the Set extension status to Allowed.
Click on OK.

Restart IIS (stop + start the IIS service), make sure that the tomcat filter
is marked with a green up-pointing arrow.


That's all, you should now start Tomcat and ask IIS to serve you the
/examples context. Try http://localhost/examples/jsp/index.html for example
and execute some of the JSP examples. 

FOREBACK Dianne wrote:
> Dear User Group:
> I cannot get IIS 6 to use the Tomcat connector to redirect requests.  I
> followed the directions in
> configuring the registry by hand.  This should be a relatively simple task
> but I am obviously overlooking something.
> The following environment is being used, Tomcat 6.0, JDK 6.0.18, JRE
> 1.6.0_13, Apache Tomcat Connectors  isapi_redirect-1.2.28.dll which I
> downloaded and did not rebuild, IIS 6 on
> Windows Server 2003.
> I've triple checked the registry settings and can open every single
> directory.  The isapi.log file is not being created.  (It appears that the
> dll is not being called.)
> The filter does show as being loaded (green) with high priority.
> IIS log file gives a 404 error.
> Tomcat is working fine.
> The contains the following entries and I've tried
> testing a .jsp example going through the IIS port.  It does pull up when I
> use Tomcat directly.
> /localhost/examples/*=ajp13
> /localhost/examples=ajp13
> The file contains
> worker.ajp13.port=8009
> worker.ajp13.type=ajp13
> I've searched and am at a loss. Any help is very much appreciated.
> Thank you.
> ********************
> This e-mail, and any files transmitted with it, may contain confidential
> and/or privileged material and is intended only for the person or entity
> to which it is addressed. If you are not the intended recipient, any
> review, retransmission, dissemination or other use of, or taking of any
> action in reliance upon, this information is prohibited. If you have
> received this email in error, please notify the sender immediately and
> delete this material from all known records.
> ********************
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Tomcat - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message