HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free and registered users see less advertising! If you just want to browse through the existing questions, just select the forum that you want to visit from the selection below. Otherwise, click here to register!. We highly recommend that you print a copy of our Guide for New Members. Enjoy!

# Day of month: is 3
# Year: is 2006
# Month: is July
# Time: is 17:24:20
# Date: is 7/3/2006
# Day: is Monday
# Day Of Year: is 184
# Week Of Year: is 27
# era: is 1
# DST Offset: is 1
# Zone Offset: is 5

Install apache and make it work.
(Make sure apache is running on Virtual Host Container)
Make sure tomcat can be started/stopped using scripts
Make sure tomcat is running on port 4000 or 8080 (if jboss is not running on port 8080)
Get the rpm file for mod_jk (mod_jk-1.2.6-3jpp_4fc.i386) (or for AMD 64 bit OS)
Stop Both Apache and Tomcat
Install the rpm mod_jk-1.2.6-3jpp_4fc.i386
Check whether you have the file mod_jk.so under the folder /etc/httpd/modules/
Edit the file /etc/httpd/conf/httpd.conf and include an entry "LoadModule jk_module modules/mod_jk.so" under LoadModule category. (These lines lists all the available modules for the apache server.
Under $TomcatHome/conf create a folder called auto and copy the mod_jk.conf inside this folder. (Get mod_jk.conf by running $rpm -ql mod_jk and subsequent mod_jk.conf.sample file. ($TomcatHome/conf/auto/mod_jk.conf)
Edit mod_jk.conf file and make sure the following entries are fine.
LoadModule jk_module modules/mod_jk.so
JkWorkersFile /etc/httpd/conf/jk/workers.properties
JkLogFile logs/mod_jk.log
(make sure they have the correct path)

Create a folder under $TomcatHome/conf/jk
Copy workers.properties.sample from installation(rpm -ql) and put it here in $TomcatHome/conf/jk/workers.properties

Edit the workers.properties file and make sure the following are edited properly.
workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/java/jdk