Apache Configuration…..
Download Apache Stable Version.
http://httpd.apache.org/download.cgi
Install typical...
Edit Httpd.conf file and append below lines in bottom of the file.
LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
# Where to put jk logs
JkLogFile logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel emerg
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T %p %q %r %v %U"
JkMount /* balancer
JkMount /status stat
Create “workers.properties” under Conf directory and add below lines.
worker.list=balancer,stat
worker.tomcat1.type=ajp13
worker.tomcat1.host=127.0.0.1
worker.tomcat1.port=8010
worker.tomcat1.lbfactor=10
worker.tomcat2.type=ajp13
worker.tomcat2.host=127.0.0.1
worker.tomcat2.port=8011
worker.tomcat2.lbfactor=10
worker.tomcat3.type=ajp13
worker.tomcat3.host=127.0.0.1
worker.tomcat3.port=8012
worker.tomcat3.lbfactor=10
worker.balancer.type=lb
worker.balancer.balance_workers=tomcat1,tomcat2,tomcat3
worker.stat.type=status
Download Tomcat Mod_Jk connector from below link and past it into apache Module directory.
http://apache.osuosl.org/tomcat/tomcat-connectors/jk/binaries/windows/
Restart Apache….