Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-2622

Setup CLI and GUI handle setup.log file differently

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 4.0.0, 3.5.0
    • Component/s: core server
    • Labels:
    • Environment:
      Ubuntu 14.04 64-bit
      Java 1.8.0

      Description

      Scenario

      1. Install OpenDJ in interactive mode:

      ./setup --cli --backendType pdb --baseDN dc=com --sampleData 4000 --ldapPort 1389 --adminConnectorPort 4444 --rootUserDN cn=dm --rootUserPassword www --no-prompt --noPropertiesFile --acceptLicense
      ...
      Do you accept the License Agreement?yes
      See /tmp/opendj-setup-8224594245514485708.log for a detailed log of this
      operation.
      
      Configuring Directory Server ..... Done.
      Importing Automatically-Generated Data (4000 Entries) .......... Done.
      Starting Directory Server ........ Done.
      
      To see basic server configuration status and configuration you can launch
      /home/user/opendj/bin/status
      

      Result: The file mentioned in setup output "/tmp/opendj-setup-8224594245514485708.log" doesn't exist.

      2. Install another instance of OpenDJ using GUI.
      Result: /tmp/opendj-setup-*.log file mentioned at the end of setup GUI process exists.

      Expected behavior

      Log files generated by setup tool should be handled in same way as in command line setup.

      Actual behavior

      In comparison with expected behavior the GUI tool doesn't remove the /tmp/opendj-setup-*.log file. In case of command line setup, the file is removed (see OPENDJ-2540's comments).

      Note
      I didn't notice this behavior in 2.6.3 version. With OpenDJ 2.6.3 we have /tmp/opendj-setup-*.log file in both cases (command line setup and GUI setup).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gaetan Gaetan Boismal [X] (Inactive)
                Reporter:
                ondrej.fuchsik Ondrej Fuchsik
                QA Assignee:
                Ondrej Fuchsik
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: