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

jvergara
10.35.2007 4aed8618421f036b176a6adcd81fa91b6c2161bf
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
opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java 10 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/InstallDS.java 2 ●●● patch | view | raw | blame | history
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();
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())
        {