From owner-freebsd-java@FreeBSD.ORG Fri May 5 02:13:04 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 E681716A401 for ; Fri, 5 May 2006 02:13:04 +0000 (UTC) (envelope-from mv@thebeastie.org) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D46343D46 for ; Fri, 5 May 2006 02:13:04 +0000 (GMT) (envelope-from mv@thebeastie.org) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id 90C524D23C; Fri, 5 May 2006 02:14:38 +0000 (GMT) Received: from [192.168.46.102] (ppp166-27.static.internode.on.net [150.101.166.27]) by p4.roq.com (Postfix) with ESMTP id AB2B74D1CE; Fri, 5 May 2006 02:14:37 +0000 (GMT) Message-ID: <445AB4AD.7010606@thebeastie.org> Date: Fri, 05 May 2006 12:13:01 +1000 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20060404 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomas Palfi References: <119D03CDAA26274786799627855EC43D403757@indy.enzo.phoenixmedical.co.uk> In-Reply-To: <119D03CDAA26274786799627855EC43D403757@indy.enzo.phoenixmedical.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-java@freebsd.org Subject: Re: installing mod_jk X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 02:13:05 -0000 Tomas Palfi wrote: >Dear all, > >I am trying to install the tomcat connector on freebsd-6.0 and I am >constantly having the following problems. I have tried various versions >but with no luck, the problem is still the same. Has someone came >across the same problem? > >Configuration run with apxs options only but that shouldn't make any >difference. > >worker# make >Making all in common >/bin/csh ../libtool --mode=compile gcc -I/usr/local/apache/include -g >-O2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DJK_PREFORK -g -O2 >-I /usr/local/jdk1.4.2/include -I /usr/local/jdk1.4.2/include/ -c >./jk_ajp12_worker.c -o ./jk_ajp12_worker.lo >SED=/usr/bin/sed: Command not found. >Xsed=/usr/bin/sed -e s/^X//: Command not found. >Missing }. >*** Error code 1 > >Stop in >/usr/local/src/jakarta-tomcat-connectors-1.2.14.1-src/jk/native/common. >*** Error code 1 > >Stop in /usr/local/src/jakarta-tomcat-connectors-1.2.14.1-src/jk/native. >worker# > > >many thanks > >tom > >-- >tp > > Try using the latest Apache 2.2.2 its quite stable in my eyes. I have been benchmarking and testing it since the long going 2.1 devel series and its very stable and refined. Apache 2.2 is really Apache at its best. Just remember to compile in the non default mod_proxy modules with something like this. portupgrade -N -m 'WITH_MPM=worker -DWITH_PROXY_MODULES' /usr/ports/www/apache22 Then use something as simple as this directive in your virtualhost configuration to link to your Tomcat ProxyPass /servlets-examples ajp://127.0.0.1:8009/servlets-examples Cheers, Mike