This is a fast Quick start to get Apache2 web server working with JBoss as a backend application server for the first time like me an hour ago ;-).
The OS used is Gentoo Linux.
Both servers are running on the localhost.
For the Jboss server I use the version 4.0.1sp1, just get it from www.jboss.org unpack it under /opt, make a symbolic link from the unpacked directory to jboss and start it up with /opt/jboss/bin/run.sh
I presume you have Apache2 and Jboss already setup and running.
There is nothing to configure on the Jboss side, for extra details you can read:
For the non-java side there is very little to configure thanks to the emerge guys :-)
First emerge the mod_jk2
# emerge mod_jk2
# vi /etc/apache2/conf/apache2.conf
LoadModule jk2_module extramodules/mod_jk2.so
# vi /etc/apache2/conf/workers2.properties
# /etc/init.d/apache2 restart