Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tomcat/IIS Redirect Failing oddly

Status
Not open for further replies.

srouse

IS-IT--Management
Jul 11, 2003
2
US
I had sucessfully installed W2K/IIS5/Tomcat4.1.24 on two boxes this morning, but now only one is working. The only additions I did was set up some web sites in IIS, but everything should still work from the default web site. I have double checked every thing several times and they are configured similarly. However I get this oddness with my isapi log:

[Fri Jul 11 18:27:06 2003] [jk_isapi_plugin.c (555)]: HttpFilterProc started
[Fri Jul 11 18:27:06 2003] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /localhost/examples/
[Fri Jul 11 18:27:06 2003] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Jul 11 18:27:06 2003] [jk_uri_worker_map.c (368)]: Attempting to map URI '/localhost/examples/'
[Fri Jul 11 18:27:06 2003] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jul 11 18:27:06 2003] [jk_isapi_plugin.c (606)]: In HttpFilterProc test Default redirection of /examples/
[Fri Jul 11 18:27:06 2003] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Jul 11 18:27:06 2003] [jk_uri_worker_map.c (368)]: Attempting to map URI '/examples/'
[Fri Jul 11 18:27:06 2003] [jk_uri_worker_map.c (391)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -> /examples/
[Fri Jul 11 18:27:06 2003] [jk_isapi_plugin.c (625)]: HttpFilterProc [/examples/] is a servlet url - should redirect to ajp13
[Fri Jul 11 18:27:06 2003] [jk_isapi_plugin.c (647)]: HttpFilterProc check if [/examples/] is points to the web-inf directory
[Fri Jul 11 18:27:06 2003] [jk_isapi_plugin.c (555)]: HttpFilterProc started
[Fri Jul 11 18:27:06 2003] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /localhost/jakarta/isapi_redirect.dll
[Fri Jul 11 18:27:06 2003] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Jul 11 18:27:06 2003] [jk_uri_worker_map.c (368)]: Attempting to map URI '/localhost/jakarta/isapi_redirect.dll'
[Fri Jul 11 18:27:06 2003] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jul 11 18:27:06 2003] [jk_isapi_plugin.c (606)]: In HttpFilterProc test Default redirection of /jakarta/isapi_redirect.dll
[Fri Jul 11 18:27:06 2003] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Jul 11 18:27:06 2003] [jk_uri_worker_map.c (368)]: Attempting to map URI '/jakarta/isapi_redirect.dll'
[Fri Jul 11 18:27:06 2003] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Jul 11 18:27:06 2003] [jk_isapi_plugin.c (638)]: HttpFilterProc [/jakarta/isapi_redirect.dll] is not a servlet url
[Fri Jul 11 18:27:06 2003] [jk_isapi_plugin.c (647)]: HttpFilterProc check if [/jakarta/isapi_redirect.dll] is points to the web-inf directory
[Fri Jul 11 18:27:06 2003] [jk_isapi_plugin.c (687)]: HttpExtensionProc started
[Fri Jul 11 18:27:06 2003] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
[Fri Jul 11 18:27:06 2003] [jk_worker.c (127)]: wc_get_worker_for_name, done did not found a worker
[Fri Jul 11 18:27:06 2003] [jk_isapi_plugin.c (709)]: HttpExtensionProc could not get a worker for name ajp12
[Fri Jul 11 18:27:06 2003] [jk_isapi_plugin.c (730)]: HttpExtensionProc error, could not get a worker for name ajp12


It looks for examples and finds it correctly then it looks for the .dll in a similar fashion which doesn't happen on the working box. I, of course, don't have an entry in the worker for "/jakarta/*" so this fails (and I presume that it searches for the second worker because of this ajp12). I have the extensions_uri pointing to the right spot, have the virtual directory named "jakarta", pointing to the folder with the .dll, and have it set to execute...why would it get confused and think that it should try to resolve it as a folder in Tomcat? I've rebooted/reconfigured several times with no luck. Thanks in advance for any help

Scott Rouse
srouse@parts-unltd.com
 
Found it. Put the ISAPI Filter in the default web site as well as the Master Properties (the Filters for the entire server).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top