[EMAIL PROTECTED] wrote:
amyroh 2003/08/28 19:35:57

  Modified:    catalina/src/share/org/apache/catalina/mbeans
                        ConnectorMBean.java
               catalina/src/share/org/apache/coyote/tomcat5
                        mbeans-descriptors.xml
  Log:
  Add ConnectorMBean implementation and force CoyoteConnector to use the 
ConnectorMBean for its configuration.

       <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"/>

There's no minProcessors anymore, only minSpareThreads. Similarly, maxProcessors should return maxThreads. You should add a note in the description that both are deprecated.


BTW, I think StandardServer should be adapted to create the new conector format, rather than use the old attribute names (and likely the socket factory also).

+ <attribute name="maxSpareThreads"
+ description="The maximum number of unused request processing threads"
+ type="int"/>
+
+ <attribute name="maxThreads"
+ description="The maximum number of request processing threads to be created"
+ type="int"/>
+
+ <attribute name="minSpareThreads"
+ description="The number of request processing threads that will be created"
type="int"/>
<attribute name="minProcessors"

Remy



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



Reply via email to