jfclere     2004/05/26 00:06:00

  Modified:    jk/xdocs/jk2 configwebcom.xml
  Log:
  Improve the description of the status worker.
  Submitted by Norm (normw at bocnet.com.au) (http://normw.gknw.com)
  
  Revision  Changes    Path
  1.18      +69 -3     jakarta-tomcat-connectors/jk/xdocs/jk2/configwebcom.xml
  
  Index: configwebcom.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/jk2/configwebcom.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- configwebcom.xml  15 Apr 2004 06:32:33 -0000      1.17
  +++ configwebcom.xml  26 May 2004 07:06:00 -0000      1.18
  @@ -515,8 +515,74 @@
                   </p>
               </subsection>
               <subsection name="status">
  -                <p>Worker that outputs a page with usefull information to monitor 
JK2</p>
  -                <p>To use it add a uri component assigned to this worker</p>
  +                <p>An optional worker that outputs (HTML) pages with useful 
information to monitor JK2.</p>
  +                <p>To create the worker, add a [status:] or [status:'a name'] 
section.</p>
  +                <p>The status worker needs no 'local' name, although one can be 
used if desired.</p>
  +                <p>To access the worker, add a [uri] section with the group= 
assigned to this worker.</p>
  +                <p>The status worker has the following additional properties:
  +                    <table>
  +                        <tr>
  +                            <th>Property name</th>
  +                            <th>Default</th>
  +                            <th>Description</th>
  +                        </tr>
  +                        <tr>
  +                            <td>styleMode</td>
  +                            <td>0 (None)</td>
  +                            <td>Defines if or how the status worker will apply a 
Style Sheet to returned pages.</td>
  +                        </tr>
  +                        <tr>
  +                            <td>stylePath</td>
  +                            <td>NULL</td>
  +                            <td>For styleMode=2 or 3, where to find the Style Sheet 
file.</td>
  +                        </tr>
  +                    </table>
  +                </p>
  +                <p>The syleMode setting accepts the following values:
  +                    <table>
  +                        <tr>
  +                            <th>styleMode value</th>
  +                            <th>Description</th>
  +                        </tr>
  +                        <tr>
  +                            <td>0</td>
  +                            <td>No Style settings are used. (Default)</td>
  +                        </tr>
  +                        <tr>
  +                            <td>1</td>
  +                            <td>Use the built-in Default Style Sheet. It is 
presented as an 'Internal Style Sheet' to HTML pages.</td>
  +                        </tr>
  +                        <tr>
  +                            <td>2</td>
  +                            <td>Use stylePath as a URI context to an external Style 
Sheet file to be returned by the Web Server.</td>
  +                        </tr>
  +                        <tr>
  +                            <td>3</td>
  +                            <td>Use stylePath as a file-system reference to a Style 
Sheet file. It is presented as an 'Internal Style
  +                                Sheet' to HTML pages.</td>
  +                        </tr>
  +                    </table>
  +                </p>
  +                <p>If the stylePath has not been set, styleMode=2 and 3 are 
ignored.</p>
  +                <p>The sylePath setting accepts the following values:
  +                    <table>
  +                        <tr>
  +                            <th>styleMode value</th>
  +                            <th>stylePath Description</th>
  +                        </tr>
  +                        <tr>
  +                            <td>2</td>
  +                            <td>A URI context to a file (e.g  
/styles/jkstatus.css). It must begin with '/' and include the file name.</td>
  +                        </tr>
  +                        <tr>
  +                            <td>3</td>
  +                            <td>A file-system path (suitable for the OS in use) 
plus file name. Also ${serverRoot}/conf/'file name'
  +                                allows the file to be located in Apache's conf 
directory.</td>
  +                        </tr>
  +                    </table>
  +                </p>
  +                <p>If the Style file cannot be found, Mode 2 and 3 record Apache 
log entries.</p>
  +                <p>For styleMode=2 and 3, changes in the Style Sheet are effective 
on the next access to the status worker.</p>
               </subsection>
               <subsection name="lb">
                   <p>Loadbalanced worker</p>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to