This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new dd4e6a2ed9 Follow-up to "Documentation updates from code review"
dd4e6a2ed9 is described below

commit dd4e6a2ed93d1ee1334003154163c26e055ca0e0
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Sep 11 13:13:10 2026 +0100

    Follow-up to "Documentation updates from code review"
---
 java/org/apache/catalina/core/StandardContext.java   | 2 +-
 java/org/apache/catalina/core/mbeans-descriptors.xml | 2 +-
 webapps/docs/monitoring.xml                          | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/org/apache/catalina/core/StandardContext.java 
b/java/org/apache/catalina/core/StandardContext.java
index 49a1b4d003..8e6d96e6fc 100644
--- a/java/org/apache/catalina/core/StandardContext.java
+++ b/java/org/apache/catalina/core/StandardContext.java
@@ -5584,7 +5584,7 @@ public class StandardContext extends ContainerBase 
implements Context, Notificat
                             "web application is running"),
                     new MBeanNotificationInfo(new String[] { 
"j2ee.state.stopping" }, Notification.class.getName(),
                             "web application is stopping"),
-                    new MBeanNotificationInfo(new String[] { 
"j2ee.object.stopped" }, Notification.class.getName(),
+                    new MBeanNotificationInfo(new String[] { 
"j2ee.state.stopped" }, Notification.class.getName(),
                             "web application is stopped"),
                     new MBeanNotificationInfo(new String[] { 
"j2ee.object.deleted" }, Notification.class.getName(),
                             "web application is deleted"),
diff --git a/java/org/apache/catalina/core/mbeans-descriptors.xml 
b/java/org/apache/catalina/core/mbeans-descriptors.xml
index 9d2e0eab50..c4ed19b998 100644
--- a/java/org/apache/catalina/core/mbeans-descriptors.xml
+++ b/java/org/apache/catalina/core/mbeans-descriptors.xml
@@ -371,7 +371,7 @@
                 returnType="void">
        <parameter name="parameter"
                   description="Application parameter to add"
-                  type="java.lang.String"/>
+                  
type="org.apache.tomcat.util.descriptor.web.ApplicationParameter"/>
     </operation>
 
     <operation name="addChild"
diff --git a/webapps/docs/monitoring.xml b/webapps/docs/monitoring.xml
index 2737f6ab55..1d75b32d94 100644
--- a/webapps/docs/monitoring.xml
+++ b/webapps/docs/monitoring.xml
@@ -736,9 +736,9 @@ Example to get the Manager from <em>servlet-examples</em> 
application an bind al
     attributebinding="true"
     resultproperty="manager.servletExamples" />]]></source>
 <p>
-Now you can find the manager at <em>${manager.servletExamples.0.name}</em> 
property
+Now you can find the manager at <em>${manager.servletExamples.0.Name}</em> 
property
 and can access all properties from this manager with 
<em>${manager.servletExamples.0.[manager attribute names]</em>}.
-The result object counter from MBeans is stored ad ${manager.Length} property.
+The result object counter from MBeans is stored ad 
${manager.servletExamples.Length} property.
 </p>
 
 <p>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to