“This tutorial explains how I was able to setup a web server in order to support Java Server Pages and Servlets using virtually hosted websites. I have spent a lot of time gathering several resources in order to get this to work. Many portions of these resources have been deprecated and required a few workarounds. It is my intention that this tutorial will help anyone that has attempted to install such a system without success.”
sometimes software is needlessly complex to set up
Thanks for the article Troy. I’ve worked with a very similar setup, except that we installed java and tomcat both in /opt so as not to clog up /usr/lib with yet more stuff.
Matzon, seems like the only complexity there is mod_jk. Installing java is trivial, as is installing tomcat. Getting apache and tomcat to talk to eachother is what’s a bit more complicated. However, any time you have some appserver working with apache there’s going to be some configuration work required.
I did several installs of apache (1 and 2) with tomcat (4 and 5) and mod_jk was always an issues. horrible complicated and so on … but once it works it works.