Tomcat: Installing mod_jk with Apache on Linux

August 27th, 2010 by jeremychone

1) Download Mod_JK

2) Copy it in the /etc/httpd/module as jk_module.so

3) Add the following in the /etc/httpd/httpd.conf

LoadModule jk_module modules/mod_jk.so

JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel info

4) Have the following in workers.properties

worker.list=workerD,worker81

#workerD (default) 8080
worker.workerD.type=ajp13
worker.workerD.host=localhost
worker.workerD.port=8009

worker.worker81.type=ajp13
worker.worker81.host=localhost
worker.worker81.port=8109

Leave a Reply