This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 335a8ade0e Follow-up to "Documentation updates from code review"
335a8ade0e is described below
commit 335a8ade0ef800873768ef61847738ba9b7ba22e
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 0c55aed0f1..a06f384ad5 100644
--- a/java/org/apache/catalina/core/StandardContext.java
+++ b/java/org/apache/catalina/core/StandardContext.java
@@ -5699,7 +5699,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 4b96a5a86b..bba7103ae3 100644
--- a/java/org/apache/catalina/core/mbeans-descriptors.xml
+++ b/java/org/apache/catalina/core/mbeans-descriptors.xml
@@ -379,7 +379,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 6dc937284e..95e8ef848c 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]