next up previous contents
Next: Checking out your configuration Up: Configuration Previous: /etc/tomcat/server.xml   Contents

/etc/apache/mod_jk/workers.properties

A worker is basically a Tomcat listener, it waits for information from Apache and gives it to Tomcat. This file comes with all the ``inprocess'' workers uncommented, the ``inprocess'' standing for ``in the Apache process'' which is not what we want to do. Here is my workers.properties (note that the file comes with extensive comments):

workers.tomcat_home=/usr/share/tomcat

workers.java_home=/usr/lib/jdk1.1/

ps=/

worker.list=ajp12,ajp13

worker.ajp12.port=8007

worker.ajp12.host=localhost

worker.ajp12.type=ajp12

worker.ajp12.lbfactor=1

worker.ajp13.port=8009

worker.ajp13.host=localhost

worker.ajp13.type=ajp13

worker.ajp13.lbfactor=1

worker.loadbalancer.type=lb

worker.loadbalancer.balanced_workers=ajp12,ajp13

worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes
And all other definitions are commented out.



2001-05-26