HTTP 500 Error with ISAPI_Redirector

I am having problems getting my IIS/Tomcat ISAPI Redirector working.
I believe I am very very very close.

I am getting an HTTP 500 error in the IIS server log when trying to access:

http://localhost/examples/jsp/index.html

The IIS error is:

2004-12-28 20:54:38 127.0.0.1 - 127.0.0.1 80 GET /jakarta/isapi_redirect.dll - 500 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)

A partial (towards end) ISAPI_Redirector log reads as follows:

[Tue Dec 28 12:23:04 2004] [jk_isapi_plugin.c (655)]: HttpFilterProc started
[Tue Dec 28 12:23:04 2004] [jk_isapi_plugin.c (718)]: In HttpFilterProc Virtual Host redirection of /localhost/jakarta/isapi_redirector.dll
[Tue Dec 28 12:23:04 2004] [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Tue Dec 28 12:23:04 2004] [jk_uri_worker_map.c (459)]: Attempting to map URI ‘/localhost/jakarta/isapi_redirector.dll’
[Tue Dec 28 12:23:04 2004] [jk_uri_worker_map.c (577)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Dec 28 12:23:04 2004] [jk_isapi_plugin.c (724)]: In HttpFilterProc test Default redirection of /jakarta/isapi_redirector.dll
[Tue Dec 28 12:23:04 2004] [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Tue Dec 28 12:23:04 2004] [jk_uri_worker_map.c (459)]: Attempting to map URI ‘/jakarta/isapi_redirector.dll’
[Tue Dec 28 12:23:04 2004] [jk_uri_worker_map.c (577)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Dec 28 12:23:04 2004] [jk_isapi_plugin.c (788)]: HttpFilterProc [/jakarta/isapi_redirector.dll] is not a servlet url
[Tue Dec 28 12:23:04 2004] [jk_isapi_plugin.c (797)]: HttpFilterProc check if [/jakarta/isapi_redirector.dll] is points to the web-inf directory
[Tue Dec 28 12:23:04 2004] [jk_isapi_plugin.c (837)]: HttpExtensionProc started
[Tue Dec 28 12:23:04 2004] [jk_worker.c (90)]: Into wc_get_worker_for_name ajp13
[Tue Dec 28 12:23:04 2004] [jk_worker.c (94)]: wc_get_worker_for_name, done did not find a worker
[Tue Dec 28 12:23:04 2004] [jk_isapi_plugin.c (872)]: HttpExtensionProc could not get a worker for name ajp13
[Tue Dec 28 12:23:04 2004] [jk_isapi_plugin.c (893)]: HttpExtensionProc error, could not get a worker for name ajp13
[Tue Dec 28 12:23:53 2004] [jk_uri_worker_map.c (149)]: Into jk_uri_worker_map_t::uri_worker_map_free
[Tue Dec 28 12:23:53 2004] [jk_uri_worker_map.c (400)]: Into jk_uri_worker_map_t::uri_worker_map_close
[Tue Dec 28 12:23:53 2004] [jk_worker.c (76)]: Into wc_close
[Tue Dec 28 12:23:53 2004] [jk_worker.c (157)]: close_workers got 1 workers to destroy
[Tue Dec 28 12:23:53 2004] [jk_worker.c (164)]: close_workers will destroy worker busobj
[Tue Dec 28 12:23:53 2004] [jk_ajp_common.c (1656)]: Into jk_worker_t::destroy
[Tue Dec 28 12:23:53 2004] [jk_ajp_common.c (1663)]: Into jk_worker_t::destroy up to 1 endpoint to close
[Tue Dec 28 12:23:53 2004] [jk_worker.c (78)]: wc_close, done

anyhelp would be appreciated.
Thanks.

I’ve also attached my registry settings for the isapi_redirector
reg_settings.zip (27.0 KB)
isapi_redirector.zip (8.0 KB)


browncow (BOB member since 2002-09-05)

Hi Hao,

I see that you use a name of “busobj” for the workers. Since the error log indicates it’s looking for ajp13, you may want to try changing the name in wokers.properties and uriworkermap.properties accordingly.

Also, the lines of:

/examples=busobj
/examples/*=busobj

in uriworkermap.properties are causing all scripts (including html) to be redirected to Tomcat rather than being processed by IIS. This is probably not the source of your problem, but I’d remove them anyway…

Joe


joepeters :us: (BOB member since 2002-08-29)

Hopefully this will save some headaches for some people.

If you are trying to install the IIS/Tomcat ISAPI connector, Tomcat “MUST” be installed in a path containing no spaces.

I initially installed under D:\program files\tomcat
After working with tech support, they confirmed the above bug and suggested I uninstall and reinstall Tomcat and the JDK under a path with no spaces.

I reinstalled under d:\bo65xtra\tomcat and then it worked like a charm.
I wasted about a week and a half trying to get this darn thing to work, only to find out that I did everything correctly, just didn’t know about a stupid caveat…

Like I said, I hope this helps someone.

Hao Ngo.


browncow (BOB member since 2002-09-05)

Hi Hao,

Does this bug apply to a specific version of Tomcat? I have mine installed in c:\program files\business objects\thirdparties\tomcat and it’s been working fine.

Joe


joepeters :us: (BOB member since 2002-08-29)

Im not sure. Im using tomcat4.1, I believe.
The suggestion just came from tech support and it actually resolved my issue. I know, wierd.

Sorry I don’t have more specifics.

Hao.


browncow (BOB member since 2002-09-05)