summaryrefslogtreecommitdiffstats
path: root/rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/src/share/org/apache/jk/status/package.html
blob: b390e7f67447d732c323e4c351cb20ca12cf0c4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<body>

<p>This package contains a set of <code>Task</code> implementations for
<em>Ant (version 1.6.x or later)</em> that can be used to interact with the
Apaache mod_jk status page to show, update, disable and stop mod_jk worker.
For more information, see
<a href="http://tomcat.apache.org/connectors-doc/index.html"><strong>JK Documenation</strong></a>.</p>

<p>The attributes of each task element correspond
exactly to the request parameters that are included with an HTTP request
sent directly to jk status page.  They are summarized as follows:
</p>

<b>General parameter</b><br/>
<table>
  <tr>
    <th align="center" width="15%">Attribute</th>
    <th align="center" width="85%">Description</th>
  </tr>
  <tr>
    <td align="center">url</td>
    <td>
      The URL of the jk status page you will use to
      perform the requested operations.  If not specified, defaults to
      <code>http://localhost:80/jkstatus</code> (which corresponds
      to a standard installation of Apache mod_jk).
    </td>
  </tr>
  <tr>
    <td align="center">username</td>
    <td>
      The username of a mod_jk status user that has been configured with the
      <code>Allow user</code> Apache Location constraint. This attribute is optional.
    </td>
  </tr>
  <tr>
    <td align="center">password</td>
    <td>
      The password of a mod_jk status user that has been configured with the
      <code>Allow user</code> Apache Location constraint. This attribute is optional.
    </td>
  </tr>
  <tr>
    <td align="center">resultProperty</td>
    <td>
    	  Bind all show results with this prefix property name. This attribute is optional.
    </td>
  </tr>
  <tr>
    <td align="center">echo</td>
    <td>
    	  show result at ant console. (default false)
    </td>
  </tr>
  <tr>
    <td align="center">errorProperty</td>
    <td>
    	  set this property, as a failure detected. This attribute is optional.
    </td>
  </tr>
</table>

<b>Command show parameter</b><br/>
<table>
  <tr>
    <th align="center" width="15%">Attribute</th>
    <th align="center" width="85%">Description</th>
  </tr>
  <tr>
    <td align="center">worker</td>
    <td>
      only bind properties from this balancer tcp worker (node)
    </td>
  </tr>
  <tr>
    <td align="center">loadbalancer</td>
    <td>
      only bind properties from this loadbalancer worker
    </td>
  </tr>
</table>

<b>Command reset parameter</b><br/>
<table>
  <tr>
    <th align="center" width="15%">Attribute</th>
    <th align="center" width="85%">Description</th>
  </tr>
  <tr>
    <td align="center">workerLb</td>
    <td>
      name of loadbalancer worker.
    </td>
  </tr>
</table>

<b>Command update loadbalancer parameter</b><br/>
<table>
  <tr>
    <th align="center" width="15%">Attribute</th>
    <th align="center" width="85%">Description</th>
  </tr>
  <tr>
    <td align="center">workerType=loadbalancer</td>
    <td>
      type of update
    </td>
  </tr>
  <tr>
    <td align="center">workerLb</td>
    <td>
      name of loadbalancer worker.
    </td>
  </tr>
  <tr>
    <td align="center">lbForceSession</td>
    <td>
      Force Sticky Session. (true/false)
    </td>
  </tr>
  <tr>
    <td align="center">lbStickySession</td>
    <td>
      Sticky Session. (true/false)
    </td>
  </tr>
  <tr>
    <td align="center">lbRetries</td>
    <td>
      loadbalancer retries after worker connection failure (int)
    </td>
  </tr>
  <tr>
    <td align="center">lbRecovertime</td>
    <td>
      Recover timeout after a worker set to "error" state (int sec's)
    </td>
  </tr>
</table>

<b>Command update worker parameter</b><br/>
<table>
  <tr>
    <th align="center" width="15%">Attribute</th>
    <th align="center" width="85%">Description</th>
  </tr>
  <tr>
    <td align="center">workerType=worker</td>
    <td>
      type of update
    </td>
  </tr>
  <tr>
    <td align="center">worker</td>
    <td>
      name of tcp worker.
    </td>
  </tr>
  <tr>
    <td align="center">workerActivation (>=1.2.19</td>
    <td>
      set worker activation  (1 Active, 2 Disabled, 3 Stopped)
    </td>
  </tr>
  <tr>
    <td align="center">workerDisabled (< 1.2.19)</td>
    <td>
      set disable state. (true/false)
    </td>
  </tr>
  <tr>
    <td align="center">workerStoppend (< 1.2.19)</td>
    <td>
      set stopped state. (true/false)      
    </td>
  </tr>
  <tr>
    <td align="center">workerJvmRoute</td>
    <td>
      set jvm route
    </td>
  </tr>
  <tr>
    <td align="center">workerLaodFactor</td>
    <td>
      set load factor (int)
    </td>
  </tr>
  <tr>
    <td align="center">workerDistance</td>
    <td>
      set worker distance (int)
    </td>
  <tr>
    <td align="center">workerRedirect</td>
    <td>
      other worker name to redirect after failure
    </td>
  </tr>
  <tr>
    <td align="center">workerClusterDomain</td>
    <td>
      cluster domain name, group of worker at a repliation cluster.
    </td>
  </tr>
</table>

</body>