Author: markt Date: Mon Jun 26 12:35:46 2017 New Revision: 1799893 URL: http://svn.apache.org/viewvc?rev=1799893&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61215 Correctly define addConnectorPort and invalidAuthenticationWhenDeny in the mbean-descriptors.xml file for the org.apache.catalina.valves package so that the attributes are accessible via JMX.
Modified: tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml?rev=1799893&r1=1799892&r2=1799893&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml (original) +++ tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml Mon Jun 26 12:35:46 2017 @@ -336,7 +336,6 @@ <attribute name="addConnectorPort" description="Append the server connector port to the client IP separated by a semicolon" - is="true" type="boolean"/> <attribute name="allow" @@ -375,7 +374,6 @@ <attribute name="invalidAuthenticationWhenDeny" description="Send an invalid authentication header instead of deny" - is="true" type="boolean"/> <attribute name="stateName" @@ -401,7 +399,6 @@ <attribute name="addConnectorPort" description="Append the server connector port to the client IP separated by a semicolon" - is="true" type="boolean"/> <attribute name="allow" @@ -440,7 +437,6 @@ <attribute name="invalidAuthenticationWhenDeny" description="Send an invalid authentication header instead of deny" - is="true" type="boolean"/> <attribute name="stateName" Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1799893&r1=1799892&r2=1799893&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Mon Jun 26 12:35:46 2017 @@ -51,6 +51,13 @@ <bug>61214</bug>: Remove deleted attribute <code>servlets</code> from the Context MBean description. Patch provided by Alexis Hassler. (markt) </fix> + <fix> + <bug>61215</bug>: Correctly define <code>addConnectorPort</code> and + <code>invalidAuthenticationWhenDeny</code> in the + <code>mbean-descriptors.xml</code> file for the + <code>org.apache.catalina.valves</code> package so that the attributes + are accessible via JMX. (markt) + </fix> </changelog> </subsection> <subsection name="Coyote"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org