Assuming you are running a Fedora Core 1 installation with Apache 2.0 You'll need: jakarta-tomcat-5.0.28.tar.gz And the mod_jk2 package: Fedora-Core-1-i386.tar.gz * Install mod_jk first % cd /share % su % tar xvfz Fedora-Core-1-i386.tar.gz % cd Fedora-Core-1-i386 % cp -rf * / This puts the /etc/httpd/conf/workers2.properties and /etc/httpd/conf.d/jk2.conf Stock Fedora Apache automatically includes everything in conf.d/*.conf * Unpack tomcat % cd /usr/local % tar xvfz /tmp/jakarta-tomcat-5.0.28.tar.gz % ln -s jarkarta-tomcat-5.0.28 tomcat5 * Jump through some hoops -> compile the unix daemon for tomcat (jsvc) % cd /usr/local/tomcat5/bin % tar xvfz jsvc.tar.gz % autoconf # wtf? wrong permissions on configure % chmod 755 configure % ./configure --with-java=/usr/java/j2sdk % make % cp jsvc .. % cd .. You can then use: % ./bin/jsvc -Djava.endorsed.dirs=./common/endorsed -cp ./bin/bootstrap.jar \ -outfile ./logs/catalina.out -errfile ./logs/catalina.err \ org.apache.catalina.startup.Bootstrap ...bleah crazy * Otherwise use the friggin Tomcat5.sh script that gives you start/stop capabilities % cd /usr/local/tomcat5/bin % tar xvfz jsvc.tar.gz % cp jsvc-src/native/Tomcat5.sh . Edit the Tomcat5.sh with your system params. Of note: JAVA_HOME=/usr/java/j2sdk/ CATALINA_HOME=/usr/local/tomcat5 DAEMON_HOME=/usr/local/tomcat5/bin TOMCAT_USER=tomcat ... # # Start Tomcat # $DAEMON_HOME/jsvc \ * Run the damn thing and make sure it worked # Gah Permissions % cd /usr/local % chown -R tomcat jakarta-tomcat-5.0.28 # Try it % cd tomcat5/bin % chmod 755 Tomcat5.sh % ./Tomcat5.sh start % ps auxw | grep java % lynx http://localhost:8080/ --------------------------------------------------------------------------- * Modify your server.xml file # Modify all the logger entries so it doesn't spam logs everywhere. Look # for * Make sure tomcat has write priveleges to the logs directory % cd /www/bark % chown tomcat logs --------------------------------------------------------------------------- * Go edit your httpd.conf to do the appropriate things. If you're like me you need to mess with this setup so that it's only listening to one particular virtual host --------------------------------------------------------------------------- IF YOU ARE USING ANT: * Copy the catalina-ant.jar to your ant's lib directory % cp /usr/local/tomcat5/server/lib/catalina-ant.jar /usr/local/ant/lib/