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

Artifactory windows service installation script doesn't work with Java 11

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 2 - Critical
    • Resolution: Done
    • Affects Version/s: 6.10.1, 6.11.3
    • Fix Version/s: 6.10.2, 6.12.1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Critical
    • Regression:
      Yes

      Description

      When creating a fresh installation for Artifactory as service the installService.bat no longer works with Java 11.

      The script is looking for files under %JAVA_HOME%\jre, and since JAVA 11 doesn't have a JRE folder the script fails with no java is installed.

      After removing the JRE from the path the installer will work, however, when trying to start the Artifactory as a service it will still fail upon starting the JAVA VM

      [2019-05-26 18:31:57] [error] [ 3956] CreateJavaVM Failed
      [2019-05-26 18:31:57] [error] [ 3956] The system cannot find the file specified.
      [2019-05-26 18:31:57] [error] [ 3568] Failed to start Java
      [2019-05-26 18:31:57] [error] [ 3568] ServiceStart returned 4
      [2019-05-26 18:31:57] [info] [ 7092] Run service finished.
      [2019-05-26 18:31:57] [info] [ 7092] Commons Daemon procrun finished

      There is a problem with the executions of the JVMs.

        Attachments

          Activity

            People

            Assignee:
            galba Gal Ben Ami
            Reporter:
            shaibz Shai Ben-Zvi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-19266 -
                SYNCHRONIZED
                • Last Sync Date: