From 23de152d5ce528a0bec277441cab35d9cafea6df Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Thu, 03 Oct 2013 18:00:04 +0000
Subject: [PATCH] Fix OPENDJ-1161 - Allow configuration of RMI port in JMX connector. These changes are adding a new optional configuration parameter : rmi-port, to allow specifying a fixed port for the RMI connection underlying JMX. This is required when managing applications need to connect to OpenDJ through a firewall. CR-2429.

---
 opends/src/admin/messages/JMXConnectionHandlerCfgDefn.properties |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/opends/src/admin/messages/JMXConnectionHandlerCfgDefn.properties b/opends/src/admin/messages/JMXConnectionHandlerCfgDefn.properties
index d4b2078..3544453 100644
--- a/opends/src/admin/messages/JMXConnectionHandlerCfgDefn.properties
+++ b/opends/src/admin/messages/JMXConnectionHandlerCfgDefn.properties
@@ -15,10 +15,12 @@
 property.key-manager-provider.synopsis=Specifies the name of the key manager that should be used with this JMX Connection Handler .
 property.key-manager-provider.requires-admin-action.synopsis=Changes to this property take effect immediately, but only for subsequent attempts to access the key manager provider for associated client connections.
 property.key-manager-provider.syntax.aggregation.constraint-synopsis=The referenced key manager provider must be enabled when the JMX Connection Handler is enabled and configured to use SSL.
-property.listen-address.synopsis=Specifies the address or set of addresses on which this JMX Connection Handler should listen for connections from SNMP clients.
+property.listen-address.synopsis=Specifies the address or set of addresses on which this JMX Connection Handler should listen for connections from JMX clients. However JMX/RMI doesn't allow this, and this property cannot be set.
 property.listen-address.description=Multiple addresses may be provided as separate values for this attribute. If no values are provided, then the JMX Connection Handler listens on all interfaces.
 property.listen-port.synopsis=Specifies the port number on which the JMX Connection Handler will listen for connections from clients.
 property.listen-port.description=Only a single port number may be provided.
+property.rmi-port.synopsis=Specifies the port number on which the JMX RMI service will listen for connections from clients. A value of 0 indicates the service to choose a port of its own.
+property.rmi-port.description=If the value provided is different than 0, the value will be used as the RMI port. Otherwise, the RMI service will choose a port of its own.
 property.ssl-cert-nickname.synopsis=Specifies the nickname (also called the alias) of the certificate that the JMX Connection Handler should use when performing SSL communication.
 property.ssl-cert-nickname.description=This is only applicable when the JMX Connection Handler is configured to use SSL.
 property.ssl-cert-nickname.default-behavior.alias.synopsis=Let the server decide.

--
Gitblit v1.10.0