Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 May 2006 12:13:01 +1000
From:      Michael Vince <mv@thebeastie.org>
To:        Tomas Palfi <tpalfi@phoenixmedical.co.uk>
Cc:        freebsd-java@freebsd.org
Subject:   Re: installing mod_jk
Message-ID:  <445AB4AD.7010606@thebeastie.org>
In-Reply-To: <119D03CDAA26274786799627855EC43D403757@indy.enzo.phoenixmedical.co.uk>
References:  <119D03CDAA26274786799627855EC43D403757@indy.enzo.phoenixmedical.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?445AB4AD.7010606>