You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by George Sexton <ge...@mhsoftware.com> on 2010/06/30 01:48:21 UTC

ISAPI Redirector Help

I'm trying to get the ISAPI redirector working on IIS 7.0 running under
Windows Server Data Center 64-bit.

 

When I make a request, I get served the isapi_redirector.dll. Here's the
detailed information.

 

IIS is running in 32 bit mode.

 

I have downloaded the latest 32-bit ISAPI redirector.

 

I have configured the registry entries in 

 

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Jakarta
Isapi Redirector\1.0

 

I have configured logging and set it to debug.

 

I do get a isapi_redirect.log file in the specified directory. Here are the
last few lines:

 

 

[Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump of
map: 'worker.list' -> 'ajp13'

[Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump of
map: 'worker.ajp13.type' -> 'ajp13'

[Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump of
map: 'worker.ajp13.host' -> 'localhost'

[Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump of
map: 'worker.ajp13.port' -> '8009'

 

 

 

[Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_isapi_plugin.c (1835):
Filter started

[Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
(1036): Attempting to map URI '/mydigirad.com/calendar/View.html' from 1
maps

[Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
(850): Attempting to map context URI '/calendar/*=ajp13' source
'uriworkermap'

[Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
(850): Attempting to map context URI '/calendar/*=ajp13' source
'uriworkermap'

[Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
(863): Found a wildchar match '/calendar/*=ajp13'

[Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_isapi_plugin.c (1916):
check if [/calendar/View.html] points to the web-inf directory

[Tue Jun 29 19:25:45.926 2010] [4760:4676] [debug] jk_isapi_plugin.c (1932):
[/calendar/View.html] is a servlet url - should redirect to ajp13

[Tue Jun 29 19:25:45.926 2010] [4760:4676] [debug] jk_isapi_plugin.c (1972):
fowarding escaped URI [/calendar/View.html]

 

When I invoke /calendar/View.html, IIS services the ISAPI Redirector DLL
rather than the servlet content as expected.

 

I have confirmed by looking at the catalina.log file that tomcat is running
an AJP connector on port 8009

 

The jakarta application is running under the same application pool as the
virtual host (Network Service). I have confirmed the permissions on the
logs, tomcat conf directory, and the folder containing the isapi redirector
binary.

 

I checked the handler mappings and Tomcat Redirector *.dll shows up as
enabled. At the Top level, I verified that the handler mapping for ISAPI
Module *.dll is enabled.

 

It seems like I'm really close here. If anyone could point me in the right
direction, I would appreciate it.

 

George Sexton

MH Software, Inc.

303 438-9585

www.mhsoftware.com

 


RE: ISAPI Redirector Help

Posted by George Sexton <ge...@mhsoftware.com>.
Well, I got this going.

I'm not sure exactly what I changed to fix it. I think some of the problem
is changes in behavior in IIS 7.0. The dialogs don't prompt in the same
manner they used to and some settings were not getting marked.

One problem that I did notice was that browser caching was keeping me from
determining when I had solved the problem. I added a trash value to the
request URL. IOW, something like: ?request_id=123. This overrode the browser
cache and let me see when I actually had it going.

So, one final tip is that if you are troubleshooting IIS/ISAPI redirector
problems, use some method to disable browser caching.


George Sexton
MH Software, Inc.
303 438-9585
www.mhsoftware.com


> -----Original Message-----
> From: George Sexton [mailto:georges@mhsoftware.com]
> Sent: Tuesday, June 29, 2010 5:48 PM
> To: 'Tomcat Users List'
> Subject: ISAPI Redirector Help
> 
> I'm trying to get the ISAPI redirector working on IIS 7.0 running under
> Windows Server Data Center 64-bit.
> 
> 
> 
> When I make a request, I get served the isapi_redirector.dll. Here's
> the
> detailed information.
> 
> 
> 
> IIS is running in 32 bit mode.
> 
> 
> 
> I have downloaded the latest 32-bit ISAPI redirector.
> 
> 
> 
> I have configured the registry entries in
> 
> 
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software
> Foundation\Jakarta
> Isapi Redirector\1.0
> 
> 
> 
> I have configured logging and set it to debug.
> 
> 
> 
> I do get a isapi_redirect.log file in the specified directory. Here are
> the
> last few lines:
> 
> 
> 
> 
> 
> [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump
> of
> map: 'worker.list' -> 'ajp13'
> 
> [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump
> of
> map: 'worker.ajp13.type' -> 'ajp13'
> 
> [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump
> of
> map: 'worker.ajp13.host' -> 'localhost'
> 
> [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump
> of
> map: 'worker.ajp13.port' -> '8009'
> 
> 
> 
> 
> 
> 
> 
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_isapi_plugin.c
> (1835):
> Filter started
> 
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
> (1036): Attempting to map URI '/mydigirad.com/calendar/View.html' from
> 1
> maps
> 
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
> (850): Attempting to map context URI '/calendar/*=ajp13' source
> 'uriworkermap'
> 
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
> (850): Attempting to map context URI '/calendar/*=ajp13' source
> 'uriworkermap'
> 
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
> (863): Found a wildchar match '/calendar/*=ajp13'
> 
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_isapi_plugin.c
> (1916):
> check if [/calendar/View.html] points to the web-inf directory
> 
> [Tue Jun 29 19:25:45.926 2010] [4760:4676] [debug] jk_isapi_plugin.c
> (1932):
> [/calendar/View.html] is a servlet url - should redirect to ajp13
> 
> [Tue Jun 29 19:25:45.926 2010] [4760:4676] [debug] jk_isapi_plugin.c
> (1972):
> fowarding escaped URI [/calendar/View.html]
> 
> 
> 
> When I invoke /calendar/View.html, IIS services the ISAPI Redirector
> DLL
> rather than the servlet content as expected.
> 
> 
> 
> I have confirmed by looking at the catalina.log file that tomcat is
> running
> an AJP connector on port 8009
> 
> 
> 
> The jakarta application is running under the same application pool as
> the
> virtual host (Network Service). I have confirmed the permissions on the
> logs, tomcat conf directory, and the folder containing the isapi
> redirector
> binary.
> 
> 
> 
> I checked the handler mappings and Tomcat Redirector *.dll shows up as
> enabled. At the Top level, I verified that the handler mapping for
> ISAPI
> Module *.dll is enabled.
> 
> 
> 
> It seems like I'm really close here. If anyone could point me in the
> right
> direction, I would appreciate it.
> 
> 
> 
> George Sexton
> 
> MH Software, Inc.
> 
> 303 438-9585
> 
> www.mhsoftware.com
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: ISAPI Redirector Help

Posted by George Sexton <ge...@mhsoftware.com>.
In IIS 7 the equivalent function is done by enabling/disabling handler
mappings.


George Sexton
MH Software, Inc.
303 438-9585
www.mhsoftware.com


> -----Original Message-----
> From: Rainer Jung [mailto:rainer.jung@kippdata.de]
> Sent: Wednesday, June 30, 2010 9:01 AM
> To: Tomcat Users List
> Subject: Re: ISAPI Redirector Help
> 
> On 30.06.2010 16:57, George Sexton wrote:
> > I'm using IIS 7.0 so that step would not apply.
> 
> Sure? The docs talk about version 6 because that was the last time they
> were updated.
> 
> Rainer
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: ISAPI Redirector Help

Posted by Rainer Jung <ra...@kippdata.de>.
On 30.06.2010 16:57, George Sexton wrote:
> I'm using IIS 7.0 so that step would not apply.

Sure? The docs talk about version 6 because that was the last time they 
were updated.

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: ISAPI Redirector Help

Posted by George Sexton <ge...@mhsoftware.com>.
I'm using IIS 7.0 so that step would not apply.

George Sexton
MH Software, Inc.
303 438-9585
www.mhsoftware.com


> -----Original Message-----
> From: Rainer Jung [mailto:rainer.jung@kippdata.de]
> Sent: Wednesday, June 30, 2010 5:19 AM
> To: Tomcat Users List
> Subject: Re: ISAPI Redirector Help
> 
> On 30.06.2010 01:48, George Sexton wrote:
> > I'm trying to get the ISAPI redirector working on IIS 7.0 running
> under
> > Windows Server Data Center 64-bit.
> >
> >
> >
> > When I make a request, I get served the isapi_redirector.dll. Here's
> the
> > detailed information.
> >
> >
> >
> > IIS is running in 32 bit mode.
> >
> >
> >
> > I have downloaded the latest 32-bit ISAPI redirector.
> >
> >
> >
> > I have configured the registry entries in
> >
> >
> >
> > HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software
> Foundation\Jakarta
> > Isapi Redirector\1.0
> >
> >
> >
> > I have configured logging and set it to debug.
> >
> >
> >
> > I do get a isapi_redirect.log file in the specified directory. Here
> are the
> > last few lines:
> >
> >
> >
> >
> >
> > [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588):
> Dump of
> > map: 'worker.list' ->  'ajp13'
> >
> > [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588):
> Dump of
> > map: 'worker.ajp13.type' ->  'ajp13'
> >
> > [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588):
> Dump of
> > map: 'worker.ajp13.host' ->  'localhost'
> >
> > [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588):
> Dump of
> > map: 'worker.ajp13.port' ->  '8009'
> >
> >
> >
> >
> >
> >
> >
> > [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_isapi_plugin.c
> (1835):
> > Filter started
> >
> > [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug]
> jk_uri_worker_map.c
> > (1036): Attempting to map URI '/mydigirad.com/calendar/View.html'
> from 1
> > maps
> >
> > [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug]
> jk_uri_worker_map.c
> > (850): Attempting to map context URI '/calendar/*=ajp13' source
> > 'uriworkermap'
> >
> > [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug]
> jk_uri_worker_map.c
> > (850): Attempting to map context URI '/calendar/*=ajp13' source
> > 'uriworkermap'
> >
> > [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug]
> jk_uri_worker_map.c
> > (863): Found a wildchar match '/calendar/*=ajp13'
> >
> > [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_isapi_plugin.c
> (1916):
> > check if [/calendar/View.html] points to the web-inf directory
> >
> > [Tue Jun 29 19:25:45.926 2010] [4760:4676] [debug] jk_isapi_plugin.c
> (1932):
> > [/calendar/View.html] is a servlet url - should redirect to ajp13
> >
> > [Tue Jun 29 19:25:45.926 2010] [4760:4676] [debug] jk_isapi_plugin.c
> (1972):
> > fowarding escaped URI [/calendar/View.html]
> >
> >
> >
> > When I invoke /calendar/View.html, IIS services the ISAPI Redirector
> DLL
> > rather than the servlet content as expected.
> >
> >
> >
> > I have confirmed by looking at the catalina.log file that tomcat is
> running
> > an AJP connector on port 8009
> >
> >
> >
> > The jakarta application is running under the same application pool as
> the
> > virtual host (Network Service). I have confirmed the permissions on
> the
> > logs, tomcat conf directory, and the folder containing the isapi
> redirector
> > binary.
> >
> >
> >
> > I checked the handler mappings and Tomcat Redirector *.dll shows up
> as
> > enabled. At the Top level, I verified that the handler mapping for
> ISAPI
> > Module *.dll is enabled.
> >
> >
> >
> > It seems like I'm really close here. If anyone could point me in the
> right
> > direction, I would appreciate it.
> 
> Did you check item 9. in
> 
> http://tomcat.apache.org/connectors-
> doc/webserver_howto/iis.html#Configuring%20the%20ISAPI%20Redirector
> 
> Regards,
> 
> Rainer
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: ISAPI Redirector Help

Posted by Rainer Jung <ra...@kippdata.de>.
On 30.06.2010 01:48, George Sexton wrote:
> I'm trying to get the ISAPI redirector working on IIS 7.0 running under
> Windows Server Data Center 64-bit.
>
>
>
> When I make a request, I get served the isapi_redirector.dll. Here's the
> detailed information.
>
>
>
> IIS is running in 32 bit mode.
>
>
>
> I have downloaded the latest 32-bit ISAPI redirector.
>
>
>
> I have configured the registry entries in
>
>
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Jakarta
> Isapi Redirector\1.0
>
>
>
> I have configured logging and set it to debug.
>
>
>
> I do get a isapi_redirect.log file in the specified directory. Here are the
> last few lines:
>
>
>
>
>
> [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump of
> map: 'worker.list' ->  'ajp13'
>
> [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump of
> map: 'worker.ajp13.type' ->  'ajp13'
>
> [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump of
> map: 'worker.ajp13.host' ->  'localhost'
>
> [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump of
> map: 'worker.ajp13.port' ->  '8009'
>
>
>
>
>
>
>
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_isapi_plugin.c (1835):
> Filter started
>
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
> (1036): Attempting to map URI '/mydigirad.com/calendar/View.html' from 1
> maps
>
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
> (850): Attempting to map context URI '/calendar/*=ajp13' source
> 'uriworkermap'
>
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
> (850): Attempting to map context URI '/calendar/*=ajp13' source
> 'uriworkermap'
>
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
> (863): Found a wildchar match '/calendar/*=ajp13'
>
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_isapi_plugin.c (1916):
> check if [/calendar/View.html] points to the web-inf directory
>
> [Tue Jun 29 19:25:45.926 2010] [4760:4676] [debug] jk_isapi_plugin.c (1932):
> [/calendar/View.html] is a servlet url - should redirect to ajp13
>
> [Tue Jun 29 19:25:45.926 2010] [4760:4676] [debug] jk_isapi_plugin.c (1972):
> fowarding escaped URI [/calendar/View.html]
>
>
>
> When I invoke /calendar/View.html, IIS services the ISAPI Redirector DLL
> rather than the servlet content as expected.
>
>
>
> I have confirmed by looking at the catalina.log file that tomcat is running
> an AJP connector on port 8009
>
>
>
> The jakarta application is running under the same application pool as the
> virtual host (Network Service). I have confirmed the permissions on the
> logs, tomcat conf directory, and the folder containing the isapi redirector
> binary.
>
>
>
> I checked the handler mappings and Tomcat Redirector *.dll shows up as
> enabled. At the Top level, I verified that the handler mapping for ISAPI
> Module *.dll is enabled.
>
>
>
> It seems like I'm really close here. If anyone could point me in the right
> direction, I would appreciate it.

Did you check item 9. in

http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html#Configuring%20the%20ISAPI%20Redirector

Regards,

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: ISAPI Redirector Help

Posted by Electronjockey <el...@hotmail.com>.
George,
I know this has nothing to do with the solution to your problem, but try 
using a isapi_redirect.properties file instead of the registry. I find 
it makes configuration management much easier.

George Sexton wrote:
> I'm trying to get the ISAPI redirector working on IIS 7.0 running under
> Windows Server Data Center 64-bit.
>
>
>
> When I make a request, I get served the isapi_redirector.dll. Here's the
> detailed information.
>
>
>
> IIS is running in 32 bit mode.
>
>
>
> I have downloaded the latest 32-bit ISAPI redirector.
>
>
>
> I have configured the registry entries in
>
>
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Jakarta
> Isapi Redirector\1.0
>
>
>
> I have configured logging and set it to debug.
>
>
>
> I do get a isapi_redirect.log file in the specified directory. Here are the
> last few lines:
>
>
>
>
>
> [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump of
> map: 'worker.list' ->  'ajp13'
>
> [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump of
> map: 'worker.ajp13.type' ->  'ajp13'
>
> [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump of
> map: 'worker.ajp13.host' ->  'localhost'
>
> [Tue Jun 29 19:11:30.520 2010] [1752:3920] [debug] jk_map.c (588): Dump of
> map: 'worker.ajp13.port' ->  '8009'
>
>
>
>
>
>
>
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_isapi_plugin.c (1835):
> Filter started
>
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
> (1036): Attempting to map URI '/mydigirad.com/calendar/View.html' from 1
> maps
>
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
> (850): Attempting to map context URI '/calendar/*=ajp13' source
> 'uriworkermap'
>
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
> (850): Attempting to map context URI '/calendar/*=ajp13' source
> 'uriworkermap'
>
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_uri_worker_map.c
> (863): Found a wildchar match '/calendar/*=ajp13'
>
> [Tue Jun 29 19:25:45.911 2010] [4760:4676] [debug] jk_isapi_plugin.c (1916):
> check if [/calendar/View.html] points to the web-inf directory
>
> [Tue Jun 29 19:25:45.926 2010] [4760:4676] [debug] jk_isapi_plugin.c (1932):
> [/calendar/View.html] is a servlet url - should redirect to ajp13
>
> [Tue Jun 29 19:25:45.926 2010] [4760:4676] [debug] jk_isapi_plugin.c (1972):
> fowarding escaped URI [/calendar/View.html]
>
>
>
> When I invoke /calendar/View.html, IIS services the ISAPI Redirector DLL
> rather than the servlet content as expected.
>
>
>
> I have confirmed by looking at the catalina.log file that tomcat is running
> an AJP connector on port 8009
>
>
>
> The jakarta application is running under the same application pool as the
> virtual host (Network Service). I have confirmed the permissions on the
> logs, tomcat conf directory, and the folder containing the isapi redirector
> binary.
>
>
>
> I checked the handler mappings and Tomcat Redirector *.dll shows up as
> enabled. At the Top level, I verified that the handler mapping for ISAPI
> Module *.dll is enabled.
>
>
>
> It seems like I'm really close here. If anyone could point me in the right
> direction, I would appreciate it.
>
>
>
> George Sexton
>
> MH Software, Inc.
>
> 303 438-9585
>
> www.mhsoftware.com
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org