Following on from the previous article Java should now be located in
/usr/lib/j2re1.6-sun/bin
You will have to set up
JAVA_HOME and JRE_HOME
these can be set in
/etc/environment
add the lines
JAVA_HOME = "/usr/lib/j2re1.6-sun"
export JAVA_HOME
CATALINA_HOME= "/opt/Tomcat5.5/"
export CATALINA_HOME
or from the command line
export JAVA_HOME=/usr/lib/j2re1.6-sun/
etc.
first we have to build mod_jk for our environment
refer to my other article on building mod_jk
put mod_jk.so into /etc/apache2/mods-available or wherever else you want and then refer to it in the apache conf stick this in your httpd.conf # Load mod_jk module # Specify the filename of the mod_jk lib LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so then restart apache ./ /etc/init.d/apache2 restart