Author: kkolinko
Date: Thu Jan  7 09:08:58 2016
New Revision: 1723486

URL: http://svn.apache.org/viewvc?rev=1723486&view=rev
Log:
Fix definition of localPort attribute of CoyoteConnector mbean. It is 
read-only, Connector class has no setter for this property.
For https://issues.apache.org/bugzilla/show_bug.cgi?id=52028  (Review of 
r1207695)

Modified:
    tomcat/trunk/java/org/apache/catalina/connector/mbeans-descriptors.xml
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/connector/mbeans-descriptors.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/mbeans-descriptors.xml?rev=1723486&r1=1723485&r2=1723486&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/connector/mbeans-descriptors.xml 
(original)
+++ tomcat/trunk/java/org/apache/catalina/connector/mbeans-descriptors.xml Thu 
Jan  7 09:08:58 2016
@@ -84,7 +84,8 @@
 
     <attribute   name="localPort"
           description="The port number on which this connector is listening to 
requests. If the special value for port of zero is used then this method will 
report the actual port bound."
-                type="int"/>
+                 type="int"
+            writeable="false"/>
 
     <attribute   name="maxHeaderCount"
           description="The maximum number of headers that are allowed by the 
container. 100 by default. A value of less than 0 means no limit."

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1723486&r1=1723485&r2=1723486&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Thu Jan  7 09:08:58 2016
@@ -175,6 +175,10 @@
         Ensure that the proper file encoding if specified will be used when
         a readme file is served by DefaultServlet. (violetagg)
       </fix>
+      <fix>
+        Fix declaration of <code>localPort</code> attribute of Connector MBean:
+        it is read-only. (kkolinko)
+      </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

Reply via email to