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:
http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch9.chapt.html#d0e22691
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
[uri:/web-console/*] worker=ajp13:localhost:8009
# /etc/init.d/apache2 restart