This is a multi-part message in MIME format.
--------------080406050703070108040005
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
I'm forwarding this note along because this is the solution that I ended
up going with. It worked very well and I now have a working setup.
Thank you all for your help!
-Scott
Subject: Re: Tomcat 4.1.18, Apache 1.3.27 and jk?
Date: Thu, 27 Feb 2003 23:48:40 +0000
I did it by hand with the latest connectors
Built it with the next three steps.
extract jakarta-tomcat-connectors-4.*-src.tar.gz to
/usr/local/src or wherever convenient.
copy the build freebsd.sh to the
"jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-1.3" directory.
in the same directory run sh ./build-freebsd.sh. This will build
mod_jk and copy it to /usr/local/libexec/apache.
--------------080406050703070108040005
Content-Type: text/plain;
name="build-freebsd.sh"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="build-freebsd.sh"
#!/bin/sh
# Remake of the build-unix.sh for FreeBSD
# Usage: build-unix.sh
# Sets a bunch of variables and calls APXS to build mod_jk
# on Unix. An alternative to the makefiles, hopefully more portable.
# Configure by changing the following variables:
# Set to match the ports installation .
JAVA_HOME=/usr/local/jdk1.3.1
APACHE_HOME=/usr/local
# name of subdir under JAVA_HOME/jre/lib
ARCH=i386
CFLAGS="-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -D_REENTRANT -pthread -DLINUX -Wall"
APXS=$APACHE_HOME/sbin/apxs
# Expects native FreeBSD java install
# Adjust for linux emulation
JAVA_INCLUDE="-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/freebsd"
INCLUDE="-I ../common $JAVA_INCLUDE"
SRC="mod_jk.c ../common/*.c"
#echo INCLUDE=$INCLUDE
#echo SRC=$SRC
# Run APXS to compile module
echo Compiling mod_jk
$APXS -c -o mod_jk.so $INCLUDE $LIB $SRC
# Copy mod_jk.so into the apache libexec directory
echo Installing mod_jk.so into $APACHE_HOME/libexec/apache
cp mod_jk.so $APACHE_HOME/libexec/apache
# Done!
--------------080406050703070108040005--
with "unsubscribe freebsd-java" in the body of the message