You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by la...@apache.org on 2001/03/02 19:30:09 UTC

cvs commit: jakarta-tomcat/src/etc/jk workers.properties

larryi      01/03/02 10:30:07

  Modified:    src/etc/jk workers.properties
  Log:
  Port Tomcat 3.2 changes and fix some typos.
  
  Changing this file to require modification before use.  The chances of an
  unmodified version being usable is very slim anyway.
  
  Example settings for Unix systems were added, supplied by Mike Braden.
  
  Revision  Changes    Path
  1.2       +18 -15    jakarta-tomcat/src/etc/jk/workers.properties
  
  Index: workers.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/etc/jk/workers.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- workers.properties	2000/09/09 23:21:20	1.1
  +++ workers.properties	2001/03/02 18:29:58	1.2
  @@ -1,13 +1,15 @@
   #
  -# $Header: /home/cvs/jakarta-tomcat/src/etc/jk/workers.properties,v 1.1 2000/09/09 23:21:20 costin Exp $
  -# $Revision: 1.1 $
  -# $Date: 2000/09/09 23:21:20 $
  +# $Header: /home/cvs/jakarta-tomcat/src/etc/jk/workers.properties,v 1.2 2001/03/02 18:29:58 larryi Exp $
  +# $Revision: 1.2 $
  +# $Date: 2001/03/02 18:29:58 $
   #
   #
   # workers.properties -
   #
  -# This file provides jk deriven plugins with with the needed information to
  -# connect to the different tomcat workers.
  +# This file provides jk derived plugins with the needed information to
  +# connect to the different tomcat workers.  Note that the distributed
  +# version of this file requires modification before it is usable by a
  +# plugin.
   #
   # As a general note, the characters $( and ) are used internally to define
   # macros. Do not use them in your own configuration!!!
  @@ -18,9 +20,9 @@
   #
   # the final value for y will be value\something
   #
  -# Normaly all you will need to modify is the first properties, i.e.
  -# workers.tomcat_home, workers.java_home and ps. Most of the configuration
  -# is derived from these.
  +# Normaly all you will need to do is un-comment and modify the first three
  +# properties, i.e. workers.tomcat_home, workers.java_home and ps.
  +# Most of the configuration is derived from these.
   #
   # When you are done updating workers.tomcat_home, workers.java_home and ps
   # you should have 3 workers configured:
  @@ -40,19 +42,21 @@
   # installed tomcat. This is where you have your conf, webapps and lib
   # directories.
   #
  -workers.tomcat_home=d:\Jakarta\build\tomcat
  +# workers.tomcat_home=c:\tomcat
  +# workers.tomcat_home=/usr/local/tomcat
   
   #
   # workers.java_home should point to your Java installation. Normally
   # you should have a bin and lib directories beneath it.
   #
  -workers.java_home=d:\sdk\jdk1.2.2
  +# workers.java_home=c:\jdk1.3
  +# workers.java_home=/usr/java
   
   #
   # You should configure your environment slash... ps=\ on NT and / on UNIX
   # and maybe something different elsewhere.
   #
  -ps=\
  +# ps=\
   # ps=/
   
   #
  @@ -122,7 +126,7 @@
   # The loadbalancer (type lb) workers perform wighted round-robin
   # load balancing with sticky sessions.
   # Note:
  -#  ----> If a worker die the load balancer will check its state
  +#  ----> If a worker dies, the load balancer will check its state
   #        once in a while. Until then all work is redirected to peer
   #        workers.
   worker.loadbalancer.type=lb
  @@ -151,10 +155,8 @@
   worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes
   
   #
  -# The exact identity of the XML parser used in unknown yet, so I put
  -# them all.
  +# The XML parser provided with Tomcat
   #
  -worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)xml.jar
   worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jaxp.jar
   worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)parser.jar
   
  @@ -172,6 +174,7 @@
   
   #
   # Setting the command line for tomcat
  +# Note: The cmd_line string may not contain spaces.
   #
   worker.inprocess.cmd_line=-config
   worker.inprocess.cmd_line=$(workers.tomcat_home)/conf/jni_server.xml