cvs commit: jakarta-tomcat/src/etc/jk workers.properties
costin 01/08/23 18:10:38 Modified:src/etc/jk workers.properties Log: Remove tomcat-modules from the initial classpath. Leave the defaults as in the jni-workers.properties ( i.e. for windows ). Revision ChangesPath 1.5 +4 -5 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.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- workers.properties2001/08/23 14:57:33 1.4 +++ workers.properties2001/08/24 01:10:38 1.5 @@ -31,28 +31,28 @@ # # -# OPTIONS ( very important for jni mode ) +# OPTIONS ( very important for jni mode ) # # workers.tomcat_home should point to the location where you # installed tomcat. This is where you have your conf, webapps and lib # directories. # -# workers.tomcat_home=c:\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=c:\jdk1.3 +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=/ # @@ -152,7 +152,6 @@ # Additional class path components. # worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar -worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)container$(ps)tomcat-modules.jar # # Setting the command line for tomcat.
cvs commit: jakarta-tomcat/src/etc/jk workers.properties jni_workers.properties
costin 01/08/23 07:57:33 Modified:src/etc/jk workers.properties Removed: src/etc/jk jni_workers.properties Log: First change - re-fixing jni worker. The 'main' workers.properties is used, and the 'main' server.xml is used ( now server.xml includes JNI by default, since the module can detect the startup mode and enable or disable itself ). Workers.properties should be the only config file you need to change to set up the workers ( and apache communication with tomcat ). Revision ChangesPath 1.4 +24 -34jakarta-tomcat/src/etc/jk/workers.properties Index: workers.properties === RCS file: /home/cvs/jakarta-tomcat/src/etc/jk/workers.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- workers.properties2001/03/16 20:50:19 1.3 +++ workers.properties2001/08/23 14:57:33 1.4 @@ -1,9 +1,3 @@ -# -# $Header: /home/cvs/jakarta-tomcat/src/etc/jk/workers.properties,v 1.3 2001/03/16 20:50:19 larryi Exp $ -# $Revision: 1.3 $ -# $Date: 2001/03/16 20:50:19 $ -# -# # workers.properties - # # This file provides jk derived plugins with the needed information to @@ -37,6 +31,8 @@ # # +# OPTIONS ( very important for jni mode ) + # # workers.tomcat_home should point to the location where you # installed tomcat. This is where you have your conf, webapps and lib @@ -71,7 +67,10 @@ # # The workers that your plugins should create and work with # +# Add 'inprocess' if you want JNI connector worker.list=ajp12, ajp13 +# , inprocess + # #-- DEFAULT ajp12 WORKER DEFINITION -- @@ -152,58 +151,49 @@ # # Additional class path components. # -worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes +worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar +worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)container$(ps)tomcat-modules.jar -# -# The XML parser provided with Tomcat -# -worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jaxp.jar -worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)parser.jar - -# -# Tomcat's implementation # -worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jasper.jar -worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)servlet.jar -worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)webserver.jar - -# -# Javac as available from Java2SE -# -worker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jar - -# -# Setting the command line for tomcat +# 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)$(ps)conf$(ps)jni_server.xml -worker.inprocess.cmd_line=-home -worker.inprocess.cmd_line=$(workers.tomcat_home) +worker.inprocess.cmd_line=start + +# Not needed, but can be customized. +#worker.inprocess.cmd_line=-config +#worker.inprocess.cmd_line=$(workers.tomcat_home)$(ps)conf$(ps)server.xml +#worker.inprocess.cmd_line=-home +#worker.inprocess.cmd_line=$(workers.tomcat_home) # # The JVM that we are about to use # # This is for Java2 # +# Windows worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll +# IBM JDK1.3 +#worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)libjvm.so +# Unix - Sun VM or blackdown +#worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)classic$(ps)libjvm.so # # And this is for jdk1.1.X # #worker.inprocess.jvm_lib=$(workers.java_home)$(ps)bin$(ps)javai.dll -# + # # Setting the place for the stdout and stderr of tomcat # -worker.inprocess.stdout=$(workers.tomcat_home)$(ps)inprocess.stdout -worker.inprocess.stderr=$(workers.tomcat_home)$(ps)inprocess.stderr +worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout +worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr # # Setting the tomcat.home Java property # -worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home) +#worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home) # # Java system properties
cvs commit: jakarta-tomcat/src/etc/jk workers.properties
larryi 01/03/16 12:50:21 Modified:src/etc/jk workers.properties Log: Fix hardcoded use of '/'. Submitted by: Christopher Elkins Revision ChangesPath 1.3 +4 -4 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.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- workers.properties2001/03/02 18:29:58 1.2 +++ workers.properties2001/03/16 20:50:19 1.3 @@ -1,7 +1,7 @@ # -# $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 $ +# $Header: /home/cvs/jakarta-tomcat/src/etc/jk/workers.properties,v 1.3 2001/03/16 20:50:19 larryi Exp $ +# $Revision: 1.3 $ +# $Date: 2001/03/16 20:50:19 $ # # # workers.properties - @@ -177,7 +177,7 @@ # 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 +worker.inprocess.cmd_line=$(workers.tomcat_home)$(ps)conf$(ps)jni_server.xml worker.inprocess.cmd_line=-home worker.inprocess.cmd_line=$(workers.tomcat_home)
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 ChangesPath 1.2 +18 -15jakarta-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.properties2000/09/09 23:21:20 1.1 +++ workers.properties2001/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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]