I have had a few people offer assistance, but nothing has worked. Is there anyone who can point me in the right direction? I am at a complete loss...
Thanks in advance!!! Tom -----Original Message----- From: Thomas Dickey [mailto:[EMAIL PROTECTED] Sent: Monday, January 09, 2006 9:32 AM To: users@tomcat.apache.org Subject: Tomcat IIS-redirector help I apologize for the length of this email.. I recently installed Tomcat V5.5 on my windows 2003 Server machine with IIS 6.0. I'm trying to use the redirector to direct content from a host IIS webserver, to the Tomcat processor (again, these are on the same machine). I have been unable to get it to post the page. Please help in any way possible.. Here is an excerpt from the redirector log.. ****************************************************** [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_shm.c (134): Initialized shared memory size=67584 free=65536 addr=0x1de0000 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_isapi_plugin.c (1160): Using registry. [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_isapi_plugin.c (1163): Using log file C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\log\isapi_redirect.log. [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_isapi_plugin.c (1164): Using log level 1. [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_isapi_plugin.c (1165): Using extension uri jakarta/isapi_redirect.dll. [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_isapi_plugin.c (1166): Using worker file C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\conf\workers.properties. [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_isapi_plugin.c (1167): Using worker mount file C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\conf\uriworkermap.properties. [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_isapi_plugin.c (1169): Using uri select 0. [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_uri_worker_map.c (260): wildchar rule /admin/*=wlb was added [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_uri_worker_map.c (260): wildchar rule /manager/*=wlb was added [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_uri_worker_map.c (260): wildchar rule /jsp-examples/*=wlb was added [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_uri_worker_map.c (260): wildchar rule /servlets-examples/*=wlb was added [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_uri_worker_map.c (260): wildchar rule /bacworth/*=bacworth was added [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_worker.c (236): creating worker wlb [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_worker.c (141): about to create instance wlb of ajp13 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_worker.c (154): about to validate and init wlb [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1806): worker wlb contact is 'localhost:8009' [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1895): setting socket keepalive to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1934): setting socket timeout to -1 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1938): setting socket buffer size to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1942): setting connection recycle timeout to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1946): setting cache timeout to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1950): setting connect timeout to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1954): setting reply timeout to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1958): setting prepost timeout to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1962): setting recovery opts to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1966): setting number of retries to 3 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1843): setting connection cache size to 10 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_worker.c (248): removing old wlb worker [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_worker.c (236): creating worker jkstatus [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_worker.c (141): about to create instance jkstatus of status [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_worker.c (154): about to validate and init jkstatus [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_worker.c (248): removing old jkstatus worker [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_worker.c (236): creating worker bacworth [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_worker.c (141): about to create instance bacworth of ajp13 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_worker.c (154): about to validate and init bacworth [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1806): worker bacworth contact is 'bacworth.llnl.gov:8009' [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1895): setting socket keepalive to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1934): setting socket timeout to -1 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1938): setting socket buffer size to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1942): setting connection recycle timeout to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1946): setting cache timeout to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1950): setting connect timeout to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1954): setting reply timeout to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1958): setting prepost timeout to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1962): setting recovery opts to 0 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1966): setting number of retries to 3 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_ajp_common.c (1843): setting connection cache size to 10 [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_worker.c (248): removing old bacworth worker [Thu Jan 05 14:49:45 2006] [4972:5232] [debug] jk_isapi_plugin.c (711): Detected IIS >= 5.0 [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_isapi_plugin.c (762): Filter started [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_isapi_plugin.c (828): Virtual Host redirection of /bacworth.llnl.gov/bacworth/ [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_uri_worker_map.c (449): Attempting to map URI '/bacworth.llnl.gov/bacworth/' from 5 maps [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/servlets-examples/*' [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/jsp-examples/*' [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/bacworth/*' [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/manager/*' [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/admin/*' [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_isapi_plugin.c (835): Default redirection of /bacworth/ [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_uri_worker_map.c (449): Attempting to map URI '/bacworth/' from 5 maps [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/servlets-examples/*' [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/jsp-examples/*' [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/bacworth/*' [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_uri_worker_map.c (475): Found a wildchar match bacworth -> /bacworth/* [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_isapi_plugin.c (845): check if [/bacworth/] is points to the web-inf directory [Thu Jan 05 14:49:50 2006] [4972:3800] [debug] jk_isapi_plugin.c (863): [/bacworth/] is a servlet url - should redirect to bacworth ****************************************************** It says on the last line that it should be working.??? Here is an excerpt from the IIS web server log.. ****************************************************** #Software: Microsoft Internet Information Services 6.0 #Version: 1.0 #Date: 2006-01-09 17:12:10 #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status 2006-01-09 17:12:10 134.9.150.61 GET /bacworth/ - 80 - 134.9.150.5 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 401 1 0 2006-01-09 17:12:15 134.9.150.61 GET /bacworth/ - 80 - 134.9.150.5 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 401 1 0 2006-01-09 17:12:15 134.9.150.61 GET /bacworth/ - 80 BKC\dickey2 134.9.150.5 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 404 2 1260 ****************************************************** Some of the articles that I have read while troubleshooting this problem state that in the above log, it should reference the ISAPI redirector DLL. I don't see that reference, however, the request seems to be making it to the redirector as can be seen in the first log. Here is my uriworkermap.properties file.. ****************************************************** # uriworkermap.properties - IIS # # This file provides sample mappings for example wlb # worker defined in workermap.properties.minimal # The general syntax for this file is: # [URL]=[Worker name] /admin/*=wlb /manager/*=wlb /jsp-examples/*=wlb /servlets-examples/*=wlb /bacworth/*=bacworth # Optionally filter out all .jpeg files inside that context # For no mapping the url has to start with exclamation (!) #!/servlets-examples/*.jpeg=wlb # # Mount jkstatus to /jkmanager # For production servers you will need to # secure the access to the /jkmanager url # #/jkmanager=jkstatus ****************************************************** Here is my workers.properties file ****************************************************** # workers.properties # # This file provides minimal jk configuration properties needed to # connect to Tomcat. # # The workers that jk should create and work with # worker.list=wlb,jkstatus,bacworth # # Defining a worker named ajp13w and of type ajp13 # Note that the name and the type do not have to match. # worker.wlb.type=ajp13 worker.wlb.host=localhost worker.wlb.port=8009 # # Define a worker entry for Bacworth ***By Thomas Dickey*** # #worker.list=bacworth worker.bacworth.type=ajp13 worker.bacworth.host=bacworth.llnl.gov worker.bacworth.port=8009 # # Defining a load balancer # #worker.wlb.type=lb #worker.wlb.balance_workers=ajp13w # # Define status worker # worker.jkstatus.type=status ****************************************************** I have checked the Registry settings a thousand times, and I know they are as they should be. Again, I apologize for the length of this email. I just wanted to make sure all the information was included. Thanks in advance for any help!!!! Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]