Author: markt
Date: Fri Oct  1 11:37:05 2010
New Revision: 1003488

URL: http://svn.apache.org/viewvc?rev=1003488&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49861
Don't use commas when logging RMI port values

Modified:
    tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: 
tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java?rev=1003488&r1=1003487&r2=1003488&view=diff
==============================================================================
--- 
tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java 
(original)
+++ 
tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java 
Fri Oct  1 11:37:05 2010
@@ -260,8 +260,8 @@ public class JmxRemoteLifecycleListener 
                     serviceUrl, theEnv, theMBeanServer);
             cs.start();
             log.info(sm.getString("jmxRemoteLifecycleListener.start",
-                    Integer.valueOf(theRmiRegistryPort),
-                    Integer.valueOf(theRmiServerPort), serverName));
+                    Integer.toString(theRmiRegistryPort),
+                    Integer.toString(theRmiServerPort), serverName));
         } catch (IOException e) {
             log.error(sm.getString(
                     "jmxRemoteLifecycleListener.createServerFailed",

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1003488&r1=1003487&r2=1003488&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Fri Oct  1 11:37:05 2010
@@ -306,6 +306,14 @@
       </fix>
     </changelog>
   </subsection>
+  <subsection name="Extras">
+    <changelog>
+      <fix>
+        <bug>49861</bug>: Don&apos;t log RMI ports formatted with commas for 
the
+        JMX remote listener. (markt)
+      </fix>
+    </changelog>
+  </subsection>
   <subsection name="Other">
     <changelog>
       <fix>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to