From owner-freebsd-questions Sun Feb 2 9:19:35 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC5ED37B401 for ; Sun, 2 Feb 2003 09:19:33 -0800 (PST) Received: from tomts9-srv.bellnexxia.net (tomts9.bellnexxia.net [209.226.175.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id D087343F75 for ; Sun, 2 Feb 2003 09:19:32 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from gabby.gsicomp.on.ca ([65.95.180.103]) by tomts9-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030202171932.HJTJ7531.tomts9-srv.bellnexxia.net@gabby.gsicomp.on.ca>; Sun, 2 Feb 2003 12:19:32 -0500 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by gabby.gsicomp.on.ca (8.12.6/8.12.6) with SMTP id h12HGPjC015657; Sun, 2 Feb 2003 12:16:25 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <013001c2cadf$3de39d00$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Rich Fox" , "FreeBSD General Mailing List" References: <20030201140344.S714-100000@test_server.no.domain> Subject: Re: Tomcat's dogging me... Date: Sun, 2 Feb 2003 12:19:27 -0500 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.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hi, > > Okay, after many hours I have tomcat installed and I can connect to it's > webserver. Unfortunately, I want to connect to to Apache and have it hand > off the requests to tomcat. > Here's the background and the most current glitches... > > FreeBSD 4.7-RELEASE > Jakarta-Tomcat 4.1.12 > Apache 2.0.43 > jdk1.2.2 > mod_jk-3.3-ap20.so // does this even work with tomcat 4?? > > ...and probably other things that I already forgot about. > > Okay, after adding the following lines to my httpd.conf, > > LoadModule jk_module libexec/apache2/mod_jk-3.3-ap20.so > AddModule mod_jk.c # why is this here? Isn't this compile-time stuff? > JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties > JkLogFile /usr/local/apache/logs/mod_jk.log > JkLogLevel info > JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " > > when I try to start apache, I get: > > Syntax error on line 277 of /usr/local/etc/apache2/httpd.conf: > Cannot load /usr/local/libexec/apache2/mod_jk-3.3-ap20.so into server: > Shared object "libc.so.6" not found > > The catch is libc.so.6 is on the system. The mod_jk that I got was the > binary, and I got it as binary on the recommendation of the documentation > on jakarta.apache.org. It's my guess, that the binary doesn't know where > to look for the shared object. Run 'ldconfig -r' to get the current list of cached shared objects. If libc.so.6 isn't there, then you've got your explanation. However, there is a bigger problem -- where the heck did you get libc.so.6 from? FreeBSD doesn't have one of these -- FreeBSD 4.x has libc.so.4 and FreeBSD 5.x has libc.so.5. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message