From owner-freebsd-java Fri Jan 3 2:30:17 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A95637B401 for ; Fri, 3 Jan 2003 02:30:15 -0800 (PST) Received: from eowyn.vianetworks.nl (eowyn.vianetworks.nl [212.61.25.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4406E43EB2 for ; Fri, 3 Jan 2003 02:30:14 -0800 (PST) (envelope-from joao@bowtie.nl) Received: from uucp.iae.nl (uucp.iae.nl [212.61.26.37]) by eowyn.vianetworks.nl (Postfix) with ESMTP id A709820FDC; Fri, 3 Jan 2003 11:30:12 +0100 (CET) Received: (from uucp@localhost) by uucp.iae.nl (8.9.1/8.9.1) with IAEhv.nl id LAA18871; Fri, 3 Jan 2003 11:30:07 +0100 (MET) Received: from hume.intra.bowtie.nl (hume.intra.bowtie.nl [192.168.4.13]) by bowtie.nl (8.11.1/8.11.1) with SMTP id h03AQDh78840; Fri, 3 Jan 2003 11:26:13 +0100 (CET) (envelope-from joao@bowtie.nl) Date: Fri, 3 Jan 2003 11:26:12 +0100 From: Joao Schim To: katmandu@volcanomail.com Cc: freebsd-java@freebsd.org Subject: Re: mod_jk Message-Id: <20030103112612.2e297ae1.joao@bowtie.nl> In-Reply-To: <20030103002027.C173545A3@sitemail.everyone.net> References: <20030103002027.C173545A3@sitemail.everyone.net> Organization: BowTie Technology BV X-Mailer: Sylpheed version 0.8.1 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hey Mike, I have got no problems with it what so ever. However i am using mod_jk/1.2.1 Don't you need to fill in paths in your worker file pointing to tomcat's basedir like : workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.4 I don't know what it would do if there's no jakarta-tomcat installed.. Anyway, it IS possible to use mod_jk with fbsd. (-stable that is, don't know about -current) Regards, Joao Schim On Thu, 2 Jan 2003 16:20:27 -0800 (PST) Mike Stevens wrote: > I'm wondering if anyone has been able to get mod_jk working under > FreeBSD? I've been able to get it to compile under FreeBSD 4.6, 4.7 > and 5.0 with Apache 1.3.26. It also compiles under FreeBSD 5.0 with > Apache 2.0.43. However, it will not actually run under any of these > combinations. > > I've downloaded the jakarta-tomcat-connectors-jk-1.2.2-src tarball and > gone to the ./jk/native directory. I then did a ./configure > --with-apxs=/usr/local/apache/bin/apxs followed by a gmake. Tomcat is > not on this server, so I need to build it in this fashion. > > The problem in each of these combinations seems to have the same root > cause: mod_jk can't find the workers.properties file. The following > is the error message I get from BSD 4.7 and Apache 1.3.26: > > [error] Error while opening the workers, jk will not work > [error] (2)No such file or directory: Error while opening the workers, > jk will not work > > The workers file does indeed exist, despite the message to the contrary. Changing the JkWorkersFile directive to a non-existent file results in a different error message. The real problem seems to be where map_read_properties is called in mod_jk.c. The pointer to the worker file here seems to be NULL. Does anyone know how to fix this problem? Any help would be GREATLY appreciated (and possibly save me a Linux install). > > -- > Mike > > _____________________________________________________________ > Get your own FREE e-mail account at http://www.volcanomail.com > > _____________________________________________________________ > Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message