https://issues.apache.org/bugzilla/show_bug.cgi?id=50106
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 24 Nov 2010 20:54:21 +0000 (20:54 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 24 Nov 2010 20:54:21 +0000 (20:54 +0000)
Correct several MBean descriptors.
Patch provided by Eiji Takahashi.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1038810 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/authenticator/mbeans-descriptors.xml
java/org/apache/catalina/connector/mbeans-descriptors.xml
java/org/apache/catalina/core/mbeans-descriptors.xml
java/org/apache/catalina/ha/session/mbeans-descriptors.xml
java/org/apache/catalina/ha/tcp/mbeans-descriptors.xml
java/org/apache/catalina/loader/mbeans-descriptors.xml
java/org/apache/catalina/realm/mbeans-descriptors.xml
java/org/apache/catalina/session/mbeans-descriptors.xml
java/org/apache/catalina/valves/mbeans-descriptors.xml
java/org/apache/jasper/servlet/mbeans-descriptors.xml
webapps/docs/changelog.xml

index ef2a9c5..ff3e1ab 100644 (file)
@@ -42,7 +42,8 @@
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
   </mbean>
   
   
@@ -71,7 +72,8 @@
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
   </mbean>
   
   <mbean name="FormAuthenticator"
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
   </mbean>
   
   <mbean name="NonLoginAuthenticator"
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
   </mbean>
   
   
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
   </mbean>
 
 
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
   </mbean>
   
 </mbeans-descriptors>
index 738d546..b37d32e 100644 (file)
           description="Allow disabling TRACE method"
                  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"
                  type="int"/>
 
     <!-- Common -->
+    <attribute   name="packetSize"
+          description="The ajp packet size."
+                 type="int"/>
+                 
     <attribute   name="port"
           description="The port number on which we listen for ajp13 requests"
                 type="int"/>
                  
     <attribute   name="stateName"
           description="The name of the LifecycleState that this component is currently in"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+                 writeable="false"/>
 
     <!-- Common -->
     <attribute   name="tcpNoDelay"
index 240defe..510b5c6 100644 (file)
                
     <attribute name="distributable"
                description="The distributable flag for this web application."
-               type="java.lang.String"/>
+               type="boolean"/>
                      
     <attribute name="docBase"
                description="The document root for this web application"
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
           
     <attribute name="staticResources"
                description="Static resources associated with the context."
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>      
+               type="java.lang.String"
+               writeable="false"/>      
   </mbean>
   
   <mbean name="StandardEngine"
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
                
     <operation name="addChild"
                description="Add a virtual host"
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
   </mbean>
   
   <mbean name="StandardHost"
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
       
     <attribute name="unpackWARs"
                description="Unpack WARs property"
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
   </mbean>
 
   <mbean name="StandardServer"
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
    
     <operation name="await"
                description="Wait for the shutdown message"
       
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
 
     <operation name="addConnector"
                description="Add a new connector"
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
                
     <attribute name="threadPriority"
                description="The thread priority for threads in this thread pool"
                
     <attribute name="maxInstances"
                description="Maximum number of STM instances."
-               type="long" />               
+               type="int" />               
 
     <attribute name="minTime"
                description="Minimum processing time of a request"
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
 
     <attribute name="statisticsProvider"
                description="Performance statistics support for this managed object"
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
   </mbean>
 
 </mbeans-descriptors>
index 68c3816..d0d1743 100644 (file)
@@ -52,7 +52,8 @@
       type="java.lang.String"/>
     <attribute name="stateName"
       description="The name of the LifecycleState that this component is currently in"
-      type="java.lang.String"/>
+      type="java.lang.String"
+      writeable="false"/>
     <operation
       name="start"
       description="Stops the Cluster JvmRouteBinderValve"
       writeable="false"/>
     <attribute name="stateName"
       description="The name of the LifecycleState that this component is currently in"
-      type="java.lang.String"/>
+      type="java.lang.String"
+      writeable="false"/>
     <attribute
       name="stateTransfered"
       is="true"
       type="int"/>
     <attribute name="stateName"
       description="The name of the LifecycleState that this component is currently in"
-      type="java.lang.String"/>
+      type="java.lang.String"
+      writeable="false"/>
     <attribute
       name="randomFile"
       description="File source of random - /dev/urandom or a pipe"
index 7bea222..fe6a12e 100644 (file)
@@ -57,7 +57,8 @@
     <attribute
       name="stateName"
       description="The name of the LifecycleState that this component is currently in"
-      type="java.lang.String"/>
+      type="java.lang.String"
+      writeable="false"/>
     <operation
       name="setProperty"
       description="set a property to all cluster managers (with prefix 'manager.')"
     <attribute
       name="stateName"
       description="The name of the LifecycleState that this component is currently in"
-      type="java.lang.String"/>
+      type="java.lang.String"
+      writeable="false"/>
     <attribute
       name="totalSendTime"
       description="total replicated send time"
index 65bbee4..8184882 100644 (file)
@@ -51,7 +51,8 @@
 
     <attribute   name="stateName"
           description="The name of the LifecycleState that this component is currently in"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+                 writeable="false"/>
 
     <attribute   name="loaderRepositories"
           description="Repositories set in the real loader"
 
     <attribute   name="stateName"
           description="The name of the LifecycleState that this component is currently in"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+                 writeable="false"/>
 
     <attribute   name="loaderRepositories"
           description="Repositories set in the real loader"
 
     <attribute   name="stateName"
           description="The name of the LifecycleState that this component is currently in"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+                 writeable="false"/>
 
     <attribute   name="URLs"
           description="The URLs of this loader"
index b0002cb..de1405d 100644 (file)
@@ -59,7 +59,8 @@
 
     <attribute   name="stateName"
           description="The name of the LifecycleState that this component is currently in"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+                 writeable="false"/>
 
     <attribute   name="userCredCol"
           description="The column in the user table that holds the user's credentials"
 
     <attribute   name="stateName"
           description="The name of the LifecycleState that this component is currently in"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+                 writeable="false"/>
 
     <attribute   name="userClassNames"
           description="Comma-delimited list of javax.security.Principal classes that represent individual users"
 
     <attribute   name="stateName"
           description="The name of the LifecycleState that this component is currently in"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+                 writeable="false"/>
 
     <attribute   name="userCredCol"
           description="The column in the user table that holds the user's credentials"
 
     <attribute   name="stateName"
           description="The name of the LifecycleState that this component is currently in"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+                 writeable="false"/>
 
     <attribute   name="userBase"
           description="The base element for user searches"
 
     <attribute   name="stateName"
           description="The name of the LifecycleState that this component is currently in"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+                 writeable="false"/>
 
     <attribute   name="validate"
           description="The 'validate certificate chains' flag."
 
     <attribute   name="stateName"
           description="The name of the LifecycleState that this component is currently in"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+                 writeable="false"/>
 
     <attribute   name="validate"
           description="The 'validate certificate chains' flag."
 
     <attribute   name="stateName"
           description="The name of the LifecycleState that this component is currently in"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+                 writeable="false"/>
 
     <attribute   name="validate"
           description="The 'validate certificate chains' flag."
index 8d30a71..bbf4da1 100644 (file)
                  
     <attribute   name="stateName"
           description="The name of the LifecycleState that this component is currently in"
-                 type="java.lang.String"/>
+                 type="java.lang.String"
+                 writeable="false"/>
 
     <attribute   name="randomFile"
           description="File source of random - /dev/urandom or a pipe"
index 4af4116..3137d33 100644 (file)
@@ -85,7 +85,8 @@
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
 
     <attribute name="suffix"
                description="The suffix that is added to log file filenames"
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
 
   </mbean>
 
                
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
 
   </mbean>
 
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
 
   </mbean>
 
 
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
 
   </mbean>
 
                
     <attribute name="stateName"
                description="The name of the LifecycleState that this component is currently in"
-               type="java.lang.String"/>
+               type="java.lang.String"
+               writeable="false"/>
 
     <attribute name="trustedProxies"
                description="Comma delimited list of trusted proxies"
index d784537..5c6aafc 100644 (file)
@@ -25,7 +25,8 @@
 
     <attribute   name="jspCount"
           description="The number of JSPs that have been loaded into a webapp"
-                 type="int"/>
+                 type="int"
+                 writeable="false"/>
 
     <attribute   name="jspReloadCount"
           description="The number of JSPs that have been reloaded"
index e50e571..29a1b14 100644 (file)
       </add>
     </changelog>
   </subsection>
+  <subsection name="Jasper">
+    <changelog>
+      <fix>
+        <bug>50106</bug>: Correct several MBean descriptors. Patch provided by
+        Eiji Takahashi. (markt)
+      </fix>
+    </changelog>
+  </subsection>
   <subsection name="Cluster">
     <changelog>
       <add>