mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
12.56.2007 a57f00dc24461620f91d1b05603b2b1a819c1405
Fix for issue 1351.

Using the CLI the user can specify the JMX port using the -j or --jmxPort option.

The usage has been updated to reflect this.
2 files modified
4 ■■■ changed files
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties 2 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/InstallDS.java 2 ●●● patch | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties
@@ -53,6 +53,8 @@
entries.\n\
-p {port}  or   --ldapPort {port}\n    Specifies the port on which the \
Directory Server should listen for LDAP\n    communication.\n\
-j {jmxPort}  or   --jmxPort {jmxPort}\n    Specifies the port on which the \
Directory Server should listen for JMX\n    communication.\n\
-S  or   --skipPortCheck\n    Skip the check to determine whether the \
specified LDAP port is usable.\n\
-D {rootDN}  or   --rootUserDN {rootDN}\n    Specifies the DN for the initial \
opendj-sdk/opends/src/server/org/opends/server/tools/InstallDS.java
@@ -252,7 +252,7 @@
      argParser.addArgument(ldapPort);
      jmxPort = new IntegerArgument("jmxport", 'j', "jmxPort", false, false,
                                    true, "{port}",
                                    true, "{jmxPort}",
                                    SetupUtils.getDefaultJMXPort(), null, true,
                                    1, true, 65535,
                                    MSGID_INSTALLDS_DESCRIPTION_JMXPORT);