Hi, First, an easy question: Does anyone happen to know what the bare minimum the IIS server needs to have installed? Does it actually need the JDK and full Tomcat install, or could it get by with only the ISAPI connector .dll file plus the worker.properties (or worker2.properties if mod_jk2 works better with IIS 6 in Win2k3) and uriworkermap.properties file? I don't many a Google search but only seem to be able to find docs about running IIS/Tomcat on the same machine.
Second: I'm having a little difficulty getting IIS 6 (on Windows 2003) to work properly with Tomcat (with Tomcat running on a dedicated machine, and IIS 6 on a dedicated web server). Fresh install of Win2k3 Standard, "Application server" installed.. tried with IIS 6 in both normal and "IIS 5 isolated mode". Hopefully someone can point me to a better guide or let me know what the trick(s) is(are) to get this going in Windows2003 with IIS 6. First, on a test machine, I'm just trying to get IIS 6 working with Tomcat, with Tomcat installed on the same box, since all of the guides I've read so far assume that is the case. (Again, my real goal is to have the server running IIS access Tomcat on a totally separate machine using ajp13) I followed this guide (exactly) on a test machine: http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html Tomcat is running fine in standalone (port 8080 so it doesn't conflict with IIS on port 80). Also in the server.xml is the connector to run on port 8009 for ajp13. The IIS log shows I am doing a "GET" on the isapi_redirector.dll every time I try loading http://localhost/examples/ or http://localhost/examples/index.html or http://localhost/examples/jsp/date/Date.jsp (or whatever the correct path of that is - I tried to load the date example .jsp file specifically for sure). In all cases I get a 404, page cannot be displayed. Steps taken... 1) installed JDK 1.4.0 (which is the version the developers of the software these servers are for is using; do you really think upgrading to JDK 1.4.2 would solve this?) 2) installed the latest Tomcat 4.1.x 3) set up JAVA_HOME and CATALINA_HOME environment variables, verified they worked by doing "echo %JAVA_HOME%" etc. 4) created %CATALIA_HOME%\conf\worker.properties : worker.list=worker1 worker.worker1.port=8009 worker.worker1.host=localhost worker.worker1.type=ajp13 5) created uriworkermap.properties : /examples/*=worker1 /examples/*.jsp=worker1 /examples/servlet/*=testWorker 6) set up the registry: HKEY_LOCAL_MACHINE SOFTWARE Apache Software Foundation Jakarta Isapi Redirector 1.0 strings: extension_uri /tomcat/isapi_redirector.dll worker_file D:\path\to\catalina_home\conf\workers.properties worker_mount_file D:\path\to\catalina_home\conf\uriworkermap.properties log_file D:\path\to\catalina_home\logs\jk_iis.log log_level debug 7) copied the latest isapi_redirect*.dll to %CATALINA_HOME%/conf/ (renamed it isapi_redirector.dll) ... 8) in IIS under the default web site I set up a virtual directory named tomcat pointing to %CATALINA_HOME%/conf/ (read/execute permissions set) 9) set up the ISAPI filter in IIS for the default website, added a filter named tomcat pointing to the redirector.dll in the proper location. The green up arrow shows up fine. 10) restarted Tomcat, restarted IIS, tried to visit the localhost urls... at port 8080 they still come up through Tomcat in standalone mode, but at port 80 they don't come up through IIS. The IIS default website comes up if I don't try going to examples/ :-( Things I've tried: - Double checked registry entries and .properties files - I am not all that familiar with IIS, but I noticed the Web Service Extensions folder in IIS 6 and tried setting up a new one for the isapi_redirector.dll that was specifically allowed. I also tried setting "all unknown ISAPI extensions" to allow, but that didn't make it work either. - Tried copying tomcat's examples folder to c:\inetpub\wwwroot\ or wherever it is the default web site points to... still had no luck. - in the Tomcat virutal directory where the redirector.dll is located, in the IIS Manager I tried to give IUSR_MACHINENAME and IWAM_MACHINENAME read/execute permissions specifically. Logs: IIS log file for the default website: 2003-10-23 17:20:02 127.0.0.1 GET /tomcat/isapi_redirector.dll - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322) 404 2 1260 jk_iis.log file: [Thu Oct 23 10:20:02 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Thu Oct 23 10:20:02 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /localhost/examples/jsp [Thu Oct 23 10:20:02 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Oct 23 10:20:02 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/localhost/examples/jsp' [Thu Oct 23 10:20:02 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Oct 23 10:20:02 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/jsp [Thu Oct 23 10:20:02 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Oct 23 10:20:02 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/jsp' [Thu Oct 23 10:20:02 2003] [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match worker1 -> /examples/ [Thu Oct 23 10:20:02 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/jsp] is a servlet url - should redirect to worker1 [Thu Oct 23 10:20:02 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/jsp] is points to the web-inf directory Thanks! (!!!) Jeremy Martin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]