Apache 2, Tomcat 4, and mod_jk2 on Fedora Core 2

Apache 2, Tomcat 4, and mod_jk2 on Fedora Core 2

I am amazed at how cryptic the documentation for Tomcat, mod_jk2 and Apache is.

Getting these three components installed and running was pretty easy ( especially using prebuilt RPMs ). However, configuring all the components so they work together was incredibly difficult to figure out.

I spent almost 6 hours over 3 days trying to get the Manager and Admin applications shipped with Tomcat to work but to no avail. I’ve finally gotten the login page for the Admin application to work but after logging in ( having defined a user with the ‘manager’ role in /etc/tomcat/tomcat-users.xml ) I still get the famous:

“HTTP Status 403 – Access to the requested resource has been denied

type Status report

message Access to the requested resource has been denied

description Access to the specified resource (Access to the requested resource has been denied) has been forbidden.” message.

The worst part has been the meager logs that get written. It’s impossible to figure out if there’s some file system permissioning problem or if it is purely a tomcat problem.

Cleaner integration docs would be greatly beneficial!


Posted

in

, ,

by

Tags: