Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 32542 invoked from network); 13 Feb 2003 00:14:05 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 13 Feb 2003 00:14:05 -0000 Received: (qmail 28662 invoked by uid 97); 13 Feb 2003 00:15:42 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 28655 invoked from network); 13 Feb 2003 00:15:41 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 13 Feb 2003 00:15:41 -0000 Received: (qmail 30926 invoked by uid 500); 13 Feb 2003 00:13:48 -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 30915 invoked from network); 13 Feb 2003 00:13:47 -0000 Received: from mail.pacific.net (63.162.241.4) by daedalus.apache.org with SMTP; 13 Feb 2003 00:13:47 -0000 Received: from glamdring (host-66-81-65-244.rev.o1.com [66.81.65.244]) by mail.pacific.net (8.12.0/8.12.1) with SMTP id h1D0DrlS006916 for ; Wed, 12 Feb 2003 16:13:54 -0800 (PST) Message-ID: <010501c2d2f4$c8d83160$0100a8c0@glamdring> From: "Barley" To: "Tomcat Users List" References: <00b801c2d2ee$6c6dcda0$0100a8c0@glamdring> <3E4AD917.2050306@galatea.com> Subject: Re: JkMount error starting Apache Date: Wed, 12 Feb 2003 16:13:49 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N OK, So, this *was* the problem. When I had tried it before, I guess I had my AddModule line in the wrong place. I tried it again and added the line at the end of all of the other AddModule lines and it fired up just fine. No warning from Apache about the module being already loaded either. Thanks very much for you lightning fast ideas and help Oscar and Lajos. I guess it was just one of those annoying little mysterious problems. Gregg > Does your httpd.conf have AddModule directives? If so, add one for > mod_jk.c - that's solved the problem for me before > > Lajos > > > Barley wrote: > > I am using Apache 1.3 and Tomcat 4.1, RedHat 7.3. > > Tomcat runs fine standalone. I am now trying to > > integrate Tomcat with Apache using mod_jk.so. I > > compiled mod_jk.so from source and put it in my > > modules/ directory. The module loads fine, but Apache > > won't start, because it doesn't recognize the JkMount > > directive. > > > > Here's what I have in httpd.conf: > > > > # Load mod_jk > > LoadModule jk_module /usr/lib/apache/mod_jk.so > > > > #Configure mod_jk2 > > JkWorkersFile > > /usr/local/tomcat/conf/jk/workers.properties > > JkLogFile /etc/httpd/logs/mod_jk2.log > > JkLogLevel info > > > > JkMount /examples/*.jsp ajp13 > > > > The workers.properties file is plain vanilla default. I > > changed the server.xml file to comment out the Coyote > > connector and uncomment the AJP 1.3, like so: > > > > > > > > > > > > > className="org.apache.ajp.tomcat4.Ajp13Connector" > > port="8009" minProcessors="5" > > maxProcessors="75" > > acceptCount="10" debug="0"/> > > > > I get the typical Apache error for when you enter an > > unknown directive: > > > > "Invalid command 'JkMount', perhaps mis-spelled or > > defined by a module not included in the server > > configuration" > > > > So, what gives?!? Does this mod_jk thing really work?? > > I bought a book (I won't mention the name in case the > > authors read this list), and boy does it suck bad. I > > ran into so many problems just getting to this point > > using the book, and there's hardly any decent > > documentation for Tomcat. > > > > So, does the JkMount directive need to be a child of > > another directive? I tried it in a VirtualHost tag with > > the same results. I assume the module is being loaded, > > because the JWorkersFile directive doesn't throw an > > error. I would appreciate any ideas anyone has. Thanks. > > > > Gregg > > > > > > ----------------------------------------------------- ---------------- > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > > > -- > > > > Lajos Moczar > ---------------------------------------- > Open Source Support, Consulting and Training > ---------------------------------------- > Cocoon Developer's Handbook > (www.amazon.com/exec/obidos/tg/detail/-/0672322579) > > _ _____ > / \ / > /___\ / > / \ /____ > > http://www.galatea.com -- powered by AzSSL > > > ----------------------------------------------------- ---------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org