costin 02/04/11 17:25:39
Modified: jk/conf workers2.properties
Log:
Configured with 3 workers for testing lb and unix
( lb should do its magic to not use the ones that
don't work ). Leave the uri maps with the default ( lb )
Revision Changes Path
1.2 +11 -12 jakarta-tomcat-connectors/jk/conf/workers2.properties
Index: workers2.properties
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/conf/workers2.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- workers2.properties 11 Apr 2002 19:10:57 -0000 1.1
+++ workers2.properties 12 Apr 2002 00:25:39 -0000 1.2
@@ -27,8 +27,7 @@
# Example additional socket channel. The location is in the name ( URL-style
-# [channel.socket:localhost:8019]
-
+[channel.socket:localhost:8019]
# Example 2 - explicitely set the host/port, the name can be anything.
@@ -38,14 +37,11 @@
# Example unix socket.
-# We must use an explicit setting to use substitution
+# XXX We must use an explicit setting to use substitution - resolve this
[channel.apr:unixSocket]
file=${jkHome}/work/jk2.socket
-
-
-
#################### Workers ####################
# All non-ajp13 workers or workers with special configurations
@@ -53,11 +49,16 @@
[worker.status]
+# This is created by default - and used for all webapps that don't specify
+# explicitely an worker.
+# It'll automatically get all the 'forwarding' workers/channels.
+# [worker.lb]
+
# Note that we use separate lines instead of , separated values.
-[worker.lb]
-balanced_workers=worker.ajp13:localhost:8109
-balanced_workers=worker.ajp13:/tmp/tomcatUnixSocket
+# This is also created by default - when a forwarding worker has a
+# 'group' property
+# [worker.lb:group1]
# XXX document/implement a better way to 'disable' a setting. Comments are
@@ -83,12 +84,10 @@
[uri:/examples/*]
# worker=ajp13:localhost:8009
-worker=ajp13:unixSocket
+# worker=ajp13:unixSocket
# Status worker. XXX protect it with <Location> and security settings,
# it'll display all properties - including eventual secrets.
[uri:/jkstatus/*]
worker=worker.status
-
-
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>