Amy,

JkConnector is composed of several sub-components, 
each with very different config parameters. Curently it is configured 
from a properties file, and it will persist the file automatically on
change. 

For the first release that should be enough - but we need to expose 
each individual component of jk to JMX. I started working on this,
but I need to find out how the JMX settings will be persisted first - 
that's essential since I need to coordinate this with the jk config 
and eventually the C side.

Also, "allowChunking", "className", "secure", etc are specific to http - 
they mean nothing in jk.

Since the components and their config is dynamic, jk will probably use 
DynamicMBeans for JMX configurability - and unless JMX will persist 
config in a properties file ( or something else easy to parse ), it'll
manage it's own config persistence.

( again, what you commited is fine for 4.1.0 - with a bit of trimming,
but should be replaced later ) 

Costin 



On 25 Apr 2002 [EMAIL PROTECTED] wrote:

> amyroh      02/04/25 12:30:44
> 
>   Modified:    catalina/src/share/org/apache/catalina/mbeans
>                         mbeans-descriptors.xml
>   Log:
>   Add JK2Connector mbean descriptor.
>   
>   Revision  Changes    Path
>   1.45      +91 -1     
>jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/mbeans-descriptors.xml
>   
>   Index: mbeans-descriptors.xml
>   ===================================================================
>   RCS file: 
>/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/mbeans-descriptors.xml,v
>   retrieving revision 1.44
>   retrieving revision 1.45
>   diff -u -r1.44 -r1.45
>   --- mbeans-descriptors.xml  4 Apr 2002 20:17:47 -0000       1.44
>   +++ mbeans-descriptors.xml  25 Apr 2002 19:30:44 -0000      1.45
>   @@ -6,7 +6,7 @@
>    <!--
>         Descriptions of JMX MBeans for Catalina
>    
>   -     $Id: mbeans-descriptors.xml,v 1.44 2002/04/04 20:17:47 amyroh Exp $
>   +     $Id: mbeans-descriptors.xml,v 1.45 2002/04/25 19:30:44 amyroh Exp $
>     -->
>    
>    <mbeans-descriptors>
>   @@ -964,6 +964,96 @@
>                   impact="ACTION"
>               returnType="void">
>        </operation>
>   +
>   +  </mbean>
>   +
>   +  <mbean         name="JK2Connector"
>   +            className="org.apache.catalina.mbeans.ClassNameMBean"
>   +          description="Implementation of an JK2 connector"
>   +               domain="Catalina"
>   +                group="Connector"
>   +                 type="org.apache.coyote.tomcat4.CoyoteConnector">
>   +
>   +    <attribute   name="acceptCount"
>   +          description="The accept count for this Connector"
>   +                 type="int"/>
>   +
>   +    <attribute   name="address"
>   +          description="The IP address on which to bind"
>   +                 type="java.lang.String"/>
>   +
>   +    <attribute   name="allowChunking"
>   +          description="Is HTTP/1.1 chunking allowed?"
>   +                 type="boolean"/>
>   +
>   +    <attribute   name="bufferSize"
>   +          description="The input buffer size we should create on input streams"
>   +                 type="int"/>
>   +
>   +    <attribute   name="className"
>   +          description="Fully qualified class name of the managed object"
>   +                 type="java.lang.String"
>   +            writeable="false"/>
>   +
>   +    <attribute   name="connectionTimeout"
>   +          description="Timeout value on the incoming connection"
>   +                 type="int"/>
>   +
>   +    <attribute   name="curProcessors"
>   +          description="Current number of active processors"
>   +                 type="int"
>   +            writeable="false"/>
>   +
>   +    <attribute   name="debug"
>   +          description="The debugging detail level for this component"
>   +                 type="int"/>
>   +
>   +    <attribute   name="enableLookups"
>   +          description="The 'enable DNS lookups' flag for this Connector"
>   +                 type="boolean"/>
>   +
>   +    <attribute   name="maxProcessors"
>   +          description="The maximum number of processors allowed"
>   +                 type="int"/>
>   +
>   +    <attribute   name="minProcessors"
>   +          description="The minimum number of processors to start at
>   +                        initialization time"
>   +                 type="int"/>
>   +
>   +    <attribute   name="port"
>   +          description="The port number on which we listen for ajp13 requests"
>   +                 type="int"/>
>   +
>   +    <attribute   name="processorClassName"
>   +          description="Fully qualified class name of Coyote processor class"
>   +                 type="java.lang.String"/>
>   +
>   +    <attribute   name="proxyName"
>   +          description="The server name to which we should pretend requests to
>   +                        this Connector were directed"
>   +                 type="java.lang.String"/>
>   +
>   +    <attribute   name="proxyPort"
>   +          description="The server port to which we should pretend requests to
>   +                        this Connector were directed"
>   +                 type="int"/>
>   +
>   +    <attribute   name="redirectPort"
>   +          description="The redirect port for non-SSL to SSL redirects"
>   +                 type="int"/>
>   +
>   +    <attribute   name="scheme"
>   +          description="Protocol name for this Connector (http, https)"
>   +                 type="java.lang.String"/>
>   +
>   +    <attribute   name="secure"
>   +          description="Is this a secure (SSL) Connector?"
>   +                 type="boolean"/>
>   +
>   +    <attribute   name="tcpNoDelay"
>   +          description="Should we set the TCP no-delay option on connections?"
>   +                 type="boolean"/>
>    
>      </mbean>
>    
>   
>   
>   
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 


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

Reply via email to