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

jvergara
10.35.2007 f0e4fac29109e208e100d63a4c7482086b365daa
Fix for issue 2243.
Set the proper port in the UserData object.
Add some logging lines that might be helpful to fix other issues that we could have in this area of the code.
2 files modified
12 ■■■■■ changed files
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java 10 ●●●●● 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/installer/Installer.java
@@ -855,6 +855,16 @@
    String[] args = new String[argList.size()];
    argList.toArray(args);
    StringBuffer cmd = new StringBuffer();
    for (String s : argList)
    {
      if (cmd.length() > 0)
      {
        cmd.append(" ");
      }
      cmd.append(s);
    }
    LOG.log(Level.INFO, "configure DS cmd: "+cmd);
    try
    {
      InstallerHelper helper = new InstallerHelper();
opendj-sdk/opends/src/server/org/opends/server/tools/InstallDS.java
@@ -564,7 +564,7 @@
      if (argParser.jmxPortArg.isPresent())
      {
        int jmxPort = argParser.jmxPortArg.getIntValue();
        uData.setServerPort(jmxPort);
        uData.setServerJMXPort(jmxPort);
        //   Check if the port can be used.
        if (!argParser.skipPortCheckArg.isPresent())
        {