====== Apache2 mod_jk2tomcat ======
mkdir -p /usr/local/java
ln -s j2sdk1.4.1_01 j2se
export JAVA_HOME=/usr/local/java/j2se
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=$JAVA_HOME/lib
Download jakarta-tomcat unzip into /usr/local/java, and create symlink tomcat to jakarta-tomcat-4.1.xx
/usr/local/java/tomcat/bin/startup.sh
lynx -dump -head http://localhost:8080
http://apache.sunsite.ualberta.ca/jakarta/tomcat-connectors/jk2/jakarta-tomcat-connectors-jk2-src-current.tar.gz
From jakarta-tomcat-connectors-4.x.xx-src/jk/native2 run:
sh ./buildconf.sh
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-tomcat41=/usr/local/java/tomcat --with-java-home=/usr/local/java/j2se && make
cp ../build/jk2/apache2/mod_jk2.so /usr/local/apache2/modules/
httpd.conf:
LoadModule jk2_module modules/mod_jk2.so
# JkSet config.file /etc/apache2/workers2.properties
You will also need to configure workers2.properties