From owner-freebsd-java Wed Jan 8 15:50:30 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 DE3F537B401 for ; Wed, 8 Jan 2003 15:50:28 -0800 (PST) Received: from omta01.mta.everyone.net (sitemail3.everyone.net [216.200.145.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A62043ED1 for ; Wed, 8 Jan 2003 15:50:18 -0800 (PST) (envelope-from katmandu@volcanomail.com) Received: from sitemail.everyone.net (dsnat [216.200.145.62]) by omta01.mta.everyone.net (Postfix) with ESMTP id 00BE51C3D1C for ; Wed, 8 Jan 2003 15:50:17 -0800 (PST) Received: by sitemail.everyone.net (Postfix, from userid 99) id BEA35E4B8; Wed, 8 Jan 2003 15:50:17 -0800 (PST) Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Date: Wed, 8 Jan 2003 15:50:17 -0800 (PST) From: Mike Stevens To: freebsd-java@freebsd.org Subject: Re: mod_jk Reply-To: katmandu@volcanomail.com X-Originating-Ip: [192.156.198.62] Message-Id: <20030108235017.BEA35E4B8@sitemail.everyone.net> 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 I was finally able to resolve this issue. The problem exhibits its self when you put the JkWorkersFile statement inside of an Apache virtual host in httpd.conf. Since I am running a number of virtual Apache servers, I had hoped to have a different workers.properties file for each virtual server, but I guess not. The resolution is to move all the mod_jk definition statements (under ) away from any statements. Thanks to all who replied, -- Mike --- 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 _____________________________________________________________ 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