Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-8529

Artifactory init.d script problem in checkJavaVersion()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 4.2.2
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:

      Description

      In the latest init.d script for the Artifactory service control, there is this new function introduced:

      checkJavaVersion()

      Unfortunately what it does is checking the for Java first in the path and then in the artDefaultFile, and if there is a Java in the path (there usually is - the default system one) it is considered as the Java to be used, and the init script complains it's an old version.

      After commenting it out from the start) and wait) cases, it is skipped and Artifactory starts successfully with the correct Java configured in the artDefaultFile.

      The check should first care for the configured Java, and then fall back to the one available in the path.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                denebeim Jay Denebeim (Inactive)
                Reporter:
                omarf Omar Faiz (Inactive)
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: