As a root you need to edit the file:
/etc/tomcat4/conf/tomcat4.conf since it assumes
that you are using open source JDK (Jive) from IBM. Change the
JAVA_HOME to point at the top of your Java 2 SDK.
In my case I changed it
to: JAVA_HOME=/usr/java/j2sdk1.4.0 and immediately
below this I added a line:
Also removed the link to xerces parser, since Java 1.4 comes with
JAXP XML parser.
Then, I started Tomcat as root
Once Tomcat is running, try to view the examples and documentation
by pointing your browser at the root of Tomcat document