On Wed, 5 Nov 2003, Andrew Davis wrote:

>I've created a workers.properties file in
>/usr/jakarta-tomcat-4.1.27/conf/jk. It looks like this:
>
>       # Setting variables
>       workers.tomcat_home=/usr/tomcat
>       workers.java_home=/usr/java/j2sdk1.4.1_04
>       ps=/
>       worker.list=TomcatWorker1
>       # Settings for TomcatWorker1 worker
>       worker.TomcatWorker1.port=8009
>       worker.TomcatWorker1.host=localhost
>       worker.TomcatWorker1.type=ajp13

The syntax of the workers file is different for jk2.  It should be called
workers2.properties and be put in your apache "conf" directory.  The
documentation is a little light, but you can see the tomcat website for
some examples of what it should look like at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebex.html

>Lastly, I've added the following to the end of my httpd.conf:
>
>       # Load mod_jk2
>       LoadModule jk2_module modules/mod_jk2.so
>
>       # Configure mod_jk2
>       JkWorkersFile /etc/httpd/conf/workers2.properties
>       JkLogFile /var/log/httpd/mod_jk.log
>       JkLogLevel info
>
>       JkMount /usr/tomcat/webapps/Genvault/*.jsp TomcatWorker1

You don't need anything but the "LoadModule" line for jk2.  The other
stuff is configured in the workers2.properties file.  The documentation
for this is extremely light, but might be somewhat helpful.  Check
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/installhowto.html

Jonathan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to