Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-72817

Error when Installing Jira service using service.bat

    XMLWordPrintable

Details

    Description

      Issue Summary

      When installing Jira service using Service.bat shipped along with Jira 8.19 .zip archive for windows, there is an error witnessed stating below:

      <jira_install_directory>\bin\tomcat8.exe.x64 "This file does not have an app associated with it for performing this action. Please install and app or, if one is already installed, create an association in the Default Apps Settings page."
      

      Steps to Reproduce

      1. Required 64-bit (Processor/Architecture) environment to reproduce the behavior
      2. Download .zip archive for v8.19
      3. Extract the archive
      4. Navigate to /bin directory and execute the service.bat install jira

      Expected Results

      To have the service installed properly

      Actual Results

      An error is witnessed:

      Error Witnessed after executing Service.bat

      "<jira_install_directory>\bin\tomcat8.exe.x64"' "This file does not have an app associated with it for performing this action. Please install and app or, if one is already installed, create an association in the Default Apps Settings page."

      Error is witnessed as .x64 is not recognized executable, there are restrictions in some environment to allow only certain executables like .exe to run

      Workaround

      Remove below lines from service.bat:

      IF "%PROCESSOR_ARCHITECTURE%"=="x86" goto notX64
      set EXECUTABLE=%EXECUTABLE%.x64
      

      Rename Tomcat8.exe.x64 to Tomcat8.exe and service.bat install jira

      Attachments

        Issue Links

          Activity

            People

              mrydzewski Mikolaj Rydzewski (Inactive)
              ba8ad0b21fe9 Mateo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: