JK = mod_jk (Apache) = isapi_redirector.dll (IIS) JK2 = mod_jk2 (Apache) = isapi_redirector2.dll (IIS)
JK and JK2 are protocols for connecting a web server to Tomcat. Tomcat has Connectors. These are written in Java and accept requests from various sources depending on configuration. The typical Connector class is CoyoteConnector. CoyoteConnector can accept requests (and issue responses) for JK, JK2, HTTP, HTTPS, and probably others. You setup multiple connectors (or just one) in server.xml depending on what you want to do. By default, there are two connectors configured in server.xml: one on port 8080 (HTTP) and one on port 8009 (JK/JK2). Note that those connectors do nothing unless they receive requests. The one on port 8080 receives requests from web browsers, the one on 8009 receives requests from mod_jk/2.so or isapi_redirector/2.dll. AFAIK, none of the CoyoteConnector JAR files are missing from any recent Tomcat distribution, certainly not a binary distribution of 4.1.18. As I understand it, because IIS doesn't have a conf file like Apache, admins are limited to whatever configuration options are presented on the admin dialog boxes. Thus, the need for two files for JK where with Apache you only need httpd.conf + 1. The two files are worker.properties (tells the worker where Tomcat is) and uriworkermap.properties (tells the worker which requests should be sent to Tomcat). I'm not familiar with JK2 at all, so I can't tell you what files you need besides the DLL file. Not many people have written documentation for IIS with Tomcat. I have a few bookmarked, they are for older versions of Tomcat, though my guess is the setup is similar: http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm http://www.vacodi.com/howto/tomcat/iisnt/index.html Your intent to pray for success is a good one. Not much effort is spent on supporting IIS with Tomcat, for obvious reasons. Frankly, unless you must use IIS, you're much better off with Apache 2 on Windows, and you will get all kinds of help and support for that configuration here. With IIS, you might very well be on your own, or it might just seem like it. Once you get your configuration working, I'm sure people would appreciate it if you took the time to document the process and create a HOWTO. John > -----Original Message----- > From: Mark Clarke [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 04, 2003 5:09 PM > To: [EMAIL PROTECTED] > Subject: FW: IIS and tomcat 4.1.18 integration > > > Hi all, > > I have been searching high and low for a proper tutorial or > explanation on how to integrate IIS with tomcat. The one on > the apache site refers to files that don't exist in my > download of tomcat4.1.18. Also I am thoroughly confused by > the connector storey. This is what I understand so far. > > > 1) Download the isapi_redirect.dll file (mod_jk), > 2) hack the registry, > 3) set up web application for dll > 4) dumps worker.properties and uriworker.properties into conf, > 5) some say copy j2k.properties into conf as well. > 6) Figure out that there are some jar files missing that > no-one tells you about and that are even harder to find on > the apache site.(tomcat_coyote,tomcat_jk etc) ( I think this > is where there coyote comes in) > 6) pray and hope that it all works > 7) pray some more > > The more I search the more confused I became because then I > found isapi_redirector2.dll (not isapi_redirect2.dll). I also > found some references to j2k. In the end I got it to work on > my xp machine (development) but it doesn't work on production > machine (win2k sp2). > > On this machine it causes inetinfo.exe to crash whenever a > request is made to tomcat. It seems that the redirector works > as its log file doesn't complain about it. I suspect that it > has something to do with version conflict and what > connector(?) to use. > > Please help this struggling soul. :( > > > > ========================================= > Mark Clarke - Exotic Pets > WWW: www.ExoticPets.co.za > ========================================= > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
