comments inline
> -----Original Message----- > From: Will Hall [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 16, 2002 9:06 AM > To: Tomcat Users List > Subject: NT4.0 Tomcat 4.1 mod_jk Apache 1.3 config issue > ... snip ... > I have read the previous posts with regard to this configuration issue, but none use NT 4.0 ( sensible though that might be) nor seem to > address the following questions: > 1. Is there a default mod_jk configuration? Hmmm...qualified "yes". The default, I guess, would be that the examples included with Tomcat are available on http://localhost/examples instead of http://localhost:8080/examples > 2. How can Tomcat 4 be configured to use mod_jk? Tomcat 4 accepts connections from mod_jk and mod__jk2 by default. In the default server.xml, there are some connectors...the CoyoteConnector is typically enabled, and supports AJP13 and AJP14 (JK and JK2, respectively). I tend to disable CoyoteConnector and enable Ajp13Connector, but that is because I use only JK, and don't care about support for JK2 at this time. Typically, Ajp13Connector is set to listen on port 8009. > 3. Why can't Apache load the mod_jk2.dll module? I'm pretty sure that JK2 is not compatible with Apache 1, only Apache 2, though I could easily be wrong. In any case, there have been posts to the list from connector developers that have said JK2 (specifically mod_jk2, not the Java/Tomcat portion of the connector) should be considered "beta", so JK is probably a better choice for the time being. If you want to use the auto-gen feature of Tomcat, you will need to add two things to server.xml if they aren't there already: 1. a Listener element within the Server element, that looks like this: <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" /> 2. a Listener element within each Host element, that looks like this: <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true" forwardAll="false" /> Then, upon restarting Tomcat, you should end up with a file called mod_jk.conf in CATALINA_HOME/conf/auto. This file can then be included in your httpd.conf with a standard Include line. There are other options available for Listener elements, too, that you can use, such as specifically where to put the mod_jk.conf file, etc. These additional parameters are covered in the docs (look for the section that says "ApacheConfig"). Some URLs that may be of some help, NT or not: http://www.cnr.berkeley.edu/~salazar/apache_tomcat.html ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Jk2_TC4.1.x_JSDK1.4.zip (this uses JK2 and Apache 2, which may not suit your purposes) JK and JK2, and their configurations, are different. A setup for JK doesn't automatically work with JK2, etc. For example, JK uses a workers.properties, while JK2 uses two other properties files. HTH John Will -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
