From owner-freebsd-java Fri Apr 13 11:51:50 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id 0DEE737B506 for ; Fri, 13 Apr 2001 11:51:45 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c27-p27.senet.com.au [203.152.233.156]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f3DIq7v60765; Sat, 14 Apr 2001 04:22:08 +0930 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f3DI90e16374; Sat, 14 Apr 2001 03:39:00 +0930 (CST) (envelope-from glewis) Date: Sat, 14 Apr 2001 03:39:00 +0930 From: Greg Lewis To: Michel Otte Cc: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat's mod_jk initialization error Message-ID: <20010414033859.A16352@misty.eyesbeyond.com> References: <200104111816.UAA03748@scoop.demon.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104111816.UAA03748@scoop.demon.nl>; from FreeBSD-Java@scoop.demon.nl on Wed, Apr 11, 2001 at 08:18:29PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Apr 11, 2001 at 08:18:29PM +0200, Michel Otte wrote: > I'm trying to get mod_jk to work with Apache 1.3.19, but the initialization > of the module fails with the error message > ' Undefined symbol "map_name_at" ' when trying to start the apache server. > > Tomcat as standalone server or through mod_jserv works just fine. Even the > compilation of mod_jk succeeds after mangling with the Makefile. I found a > suggestion somewhere on the net to configure and compile Apache with > --enable-rule=SHARED_CORE. > So I recompiled Apache with this option and compiled mod_jk again. This > resulted in a same-size mod_jk.so which is about 18 kilobytes big, or > should I say small? "httpd -V" shows that Apache has been compiled with the > SHARED_CORE option. > > Setup: > > * FreeBSD 4.2-RELEASE > * Apache 1.3.19 (build from source) > * JDK12-beta (build from the ports collection) > * Tomcat 3.2.1 binary distribution > * Trying to compile mod_jk from Tomcat 3.2.1-src distribution > > I couldn't find a clue anywhere, but I know it's possible to get this to > work. Did I miss something stupid here? How are you compiling mod_jk? There was a discussion a few weeks ago on the list about the patches needed for the Makefile to get things compiled correctly. I'd suggest searching the archives to compare the hacks you've made. I've got Tomcat working through mod_jk with pretty much the above set up FWIW. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message