Author: rjung
Date: Sun Aug 27 17:12:28 2006
New Revision: 437480
URL: http://svn.apache.org/viewvc?rev=437480&view=rev
Log:
Add documentation for the activation directive
(as a replacement of disabled and stopped).
Modified:
tomcat/connectors/trunk/jk/xdocs/config/workers.xml
tomcat/connectors/trunk/jk/xdocs/howto/workers.xml
Modified: tomcat/connectors/trunk/jk/xdocs/config/workers.xml
URL:
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/config/workers.xml?rev=437480&r1=437479&r2=437480&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/config/workers.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/config/workers.xml Sun Aug 27 17:12:28 2006
@@ -486,7 +486,27 @@
</p>
</directive>
+<directive name="activation" default="Active" required="false">
+Using this directive, a balanced worker of a load balancer
+can be configured as disabled or stopped. A disabled worker only gets
+requests, which belong to sessions for that worker. A stopped
+worker does not get any requests. Users will loose their sessions,
+unless session replication via clustering is used.
+<p>
+Use <b>d</b> or <b>D</b> to disable and <b>s</b> or <b>S</b> to stop.
+If this directive is not present the deprecated directives
+"disabled" or "stopped" are used.
+</p>
+<p>
+This flag can be changed at runtime using status worker.
+</p>
+<p>
+This feature has been added in <b>jk 1.2.19</b>.
+</p>
+</directive>
+
<directive name="disabled" default="False" required="false">
+<warn>This directive has been deprecated since 1.2.19. See <b>activation</b>
instead.</warn>
If set to <b>True</b> or <b>1</b> the worker will be disabled if member
of load balancer. This flag can be changed at runtime using status worker.
<p>
@@ -495,6 +515,7 @@
</directive>
<directive name="stopped" default="False" required="false">
+<warn>This directive has been deprecated since 1.2.19. See <b>activation</b>
instead.</warn>
If set to <b>True</b> or <b>1</b> the worker will be stopped if member
of load balancer. The flag is needed for stop complete traffic of a sticky
session
worker. It is only usefull, when you have a cluster that replicated the
sessions.
Modified: tomcat/connectors/trunk/jk/xdocs/howto/workers.xml
URL:
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/howto/workers.xml?rev=437480&r1=437479&r2=437480&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/howto/workers.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/howto/workers.xml Sun Aug 27 17:12:28 2006
@@ -279,7 +279,7 @@
<subsection name="Advanced lb Worker properties">
<p>
With JK 1.2.x, new load-balancing and fault-tolerant support has been added via
-2 new properties, <b>redirect</b> and <b>disabled</b>.
+2 new properties, <b>redirect</b> and <b>activation</b>.
</p>
<p>
@@ -309,7 +309,7 @@
worker.worker2.type=ajp13
worker.worker2.lbfactor=1
# Disable worker2 for all requests except failover
- worker.worker2.disabled=True
+ worker.worker2.activation=disabled
# Define the LB worker
worker.router.type=lb
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]