CCL Home Page
Up Directory CCL node10.html
/etc/apache/mod_jk/workers.properties 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
Modified: Sun May 27 22:08:41 2001 GMT
Page accessed 4417 times since Mon Feb 3 15:24:27 2003 GMT