From 1c3288be54c08042c875141f4f464812fe62b6d5 Mon Sep 17 00:00:00 2001 From: markt Date: Wed, 1 Oct 2008 10:54:34 +0000 Subject: [PATCH] Update javadoc. Add a todo reminder. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@700735 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java b/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java index eca0f35cf..ebc8fbfa0 100644 --- a/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java +++ b/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java @@ -46,10 +46,13 @@ import org.apache.juli.logging.LogFactory; /** * This listener fixes the port used by JMX/RMI Server making things much * simpler if you need to connect jconsole or similar to a remote Tomcat - * instance that is running behind a firewall. Only this port is configured via + * instance that is running behind a firewall. Only the ports are configured via * the listener. The remainder of the configuration is via the standard system * properties for configuring JMX. Because Tomcat uses a separate MBean server - * to the platform MBean server, both servers must be configured separately. + * to the platform MBean server, ports for both servers must be configured. + * TODO: Is there a way to reduce the number of ports and access both servers + * (and any other MBean servers via a single registry and single + * connection? */ public class JmxRemoteLifecycleListener implements LifecycleListener { -- 2.11.0