Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 54462 invoked from network); 15 Aug 2002 17:56:47 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 15 Aug 2002 17:56:47 -0000 Received: (qmail 24357 invoked by uid 97); 15 Aug 2002 17:56:42 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 24311 invoked by uid 97); 15 Aug 2002 17:56:42 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 24279 invoked by uid 98); 15 Aug 2002 17:56:40 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <83F0258A9996D311B14200A0C98F17360202C3CF@aas-internet.aas.com> From: "Turner, John" To: 'Tomcat Users List' Subject: RE: can't find mod_jk.conf Date: Thu, 15 Aug 2002 13:55:53 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The only thing you need in your httpd.conf, if you are using Tomcat's "autogen" function for mod_jk.conf, is this line: Include /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf I'm not sure what platform you are using, but I posted a howto for apache 1.3.26 + tomcat 4.0.4 + mod_jk here: http://www.johnturner.com/howto/apache-tomcat-howto.html In particular, step #10 of my How-to deals with the Listener directives, which are responsible for generating the mod_jk.conf file (as far as I know). The system as built via the How-to is working for me, and the httpd.conf has two differences from the original that was installed with apache: the ServerName has been changed, and the Include directive has been added. John Turner jturner@NOSPAM.aas.com -----Original Message----- From: Scott Adamson [mailto:scottadamson@sywaretech.com.au] Sent: Thursday, August 15, 2002 12:09 PM To: Tomcat Users List Subject: Re: can't find mod_jk.conf Ok, here is what I have done : - compiled apache_1.3.19 with DSO support (./configure --prefix=/usr/local/apache2 --enable-module=rewrite --enable-sh ared=rewrite ) - added the following to httpd.conf: # # Load mod_jk # LoadModule jk_module libexec/mod_jk-3.3-ap13-noeapi.so #AddModule mod_jk.c # Configure mod_jk # JkWorkersFile /usr/local/jakarta-tomcat-4.0.4/conf/workers.properties JkLogFile /usr/local/apache2/logs/mod_jk.log JkLogLevel info Include /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf - copied mod_jk-3.3-ap13-noeapi.so to /usr/local/apache2/libexec - added the following to server.xml : - created conf/workers.properties: workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.4 workers.java_home=/usr/java/jdk1.3 ps=/ worker.list=ajp12, ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 mod_jk.conf is getting created, can someone verify this is correct ? LoadModule jk_module /usr/local/apache/libexec/mod_jk-3.3-ap13-noeapi.so apache/logs/error_log contains the following : [Fri Aug 16 02:37:52 2002] [error] [client 192.168.0.7] File does not exist: /usr/local/apache2/htdocs/examples/ which indicates that it doesn't have a clue about tomcat. Can anyone help with this, I have tried the supposed documentation suggested and found it quite confusing and contridictory. ----- Original Message ----- From: "sibusiso xolo" To: "Tomcat Users List" Sent: Wednesday, August 14, 2002 10:04 AM Subject: Re: can't find mod_jk.conf the best place to find out what to do is here:- ~/jakarta-tomcat-4.0.4/webapps/tomcat-docs/config/ajp.html about halfway down the page under Using ApacheConfig good luck On Sunday 11 August 2002 15:35, Scott Adamson wrote: > I have been trying to get Tomcat 4.04 to work with Apache (compiled > statically with mod_jk). According to the HOWTO on the Apache site > mod_jk.conf should be auto-generated with startup, it isnt. My guess would > be that there is some other configuration I need, but the HOWTO only seems > to mentions a 'workers.properties' file, which I created as instructed. Can > anyone help me with Tomcat 4 + Apache + mod_jk ? I would prefer to stick > with mod_jk (it already works with tomcat3.2.1) but I would consider using > other connectors. > > > Any help that anyone can offer would be much appreciated. > > regards, > > Scott Adamson > Systems Administrator > Syware Technology > > scottadamson@sywaretech.com.au > http://upe.com.au -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: