hgomez 2002/09/19 00:57:07 Modified: src/doc serverxml.html Log: Add information about MXInterceptor Revision Changes Path 1.27 +62 -1 jakarta-tomcat/src/doc/serverxml.html Index: serverxml.html =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/doc/serverxml.html,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- serverxml.html 11 Sep 2002 17:35:26 -0000 1.26 +++ serverxml.html 19 Sep 2002 07:57:06 -0000 1.27 @@ -228,6 +228,7 @@ <li><a href="#JservConfig">JservConfig</a></li> <li><a href="#LoaderInterceptor11">LoaderInterceptor11</a></li> <li><a href="#LogSetter">LogSetter</a></li> + <li><a href="#MXInterceptor">MXInterceptor</a></li> <li><a href="#NSConfig">NSConfig</a></li> <li><a href="#PolicyLoader">PolicyLoader</a></li> <li><a href="#TrustedLoader">TrustedLoader</a></li> @@ -2146,6 +2147,66 @@ <LogSetter name="tc_log" verbosityLevel="DEBUG" /> <LogSetter name="servlet_log" timestamps="true" verbosityLevel="INFORMATION" path="logs/servlet-${yyyyMMdd}.log" /> +</pre> + +<hr size="5"> + +<!-- ======================================== --> + +<h3><a name="MXInterceptor">MXInterceptor</a></h3> + +<p><b>Type:</b> Configuration</p> + +<h4>Description</h4> + +<p>JMX MBeans support has been added to Tomcat 3.3.2, which allow you to manage +Tomcat from any JMX console or via a simple browser by the build in HTTP Adaptor</p> +<p>To enable JMX, you should add the <MxInterceptor /> in server.xml</p> +<p>To also activate the HTTP Adaptor you should at least define the listen port</p> + +<h4>Attributes</h4> + +<table border="1" cellpadding="2" cellspacing="0"> + <tr valign="top"> + <th>Attribute</th> + <th>Description</th> + <th>Default</th> + </tr> + <tr valign="top"> + <td>port</td> + <td>port where the JMX HTTP Adaptor will listen to, HTTP Adaptor will only be loaded if the port is set</td> + <td>-1, no http adaptor loaded</td> + </tr> + <tr valign="top"> + <td>host</td> + <td>host/ip where the JMX HTTP Adaptor will listen to, only available when using <code>MX4J</code> HTTP Adaptor</td> + <td>null</td> + </tr> + <tr valign="top"> + <td>authentication</td> + <td>authentication used by the JMX HTTP Adaptor, only available when using <code>MX4J</code> HTTP Adaptor, + it could be <code>none</code>, <code>basic</code>, <code>digest</code></td> + <td>none</td> + </tr> + <tr valign="top"> + <td>user</td> + <td>the user account which to be used with authentication</td> + <td>none, should be set to enable authentication</td> + </tr> + <tr valign="top"> + <td>password</td> + <td>the password which to be used with authentication</td> + <td>none, should be set to enable authentication</td> + </tr> +</table> + + + +<h4>Example(s)</h4> + +<pre> +<MxInterceptor port="8999" host="mysystem" authentication="basic" user="admin" password="changeillico"/> +<MxInterceptor /> </pre> <hr size="5">
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>