-
Suggestion
-
Resolution: Cannot Reproduce
-
None
-
None
-
1
-
Issue Summary
When installing Jira service using Service.bat shipped along with Jira 8.9 .zip archive for windows, there is an error witnessed stating below:
[JIRA_install_dir]\atlassian\jira-software-8.9.0\bin\Tomcat8.exe.x64"' is not recognized as an internal or external command
Failed installing 'JIRASW8_9_0' service
The error is observed when executing service.bat after renaming tomcat8.exe.x64 to tomcat8.exe, so service.bat was looking for the .x64 file, which didn't exist.
When running service.bat without renaming, the command runs fine, and windows then throws the error on trying to open an .x64 file (and thus, the service isn't actually installed).
Steps to Reproduce
- Required 64-bit (Processor/Architecture) environment to reproduce the behavior
- Download .zip archive for v8.9
- Extract the archive
- Navigate to /bin directory and execute the service.bat install jira
- An error is witnessed:
Error Witnessed after executing Service.bat
"C:\atlassian\jira-software-8.9.0\bin\Tomcat8.exe.x64"' is not recognized as an internal or external command,
operable program or batch file.
Failed installing 'JIRASW8_9_0' service
- Error is witnessed as .x64 is not recognized executable, there are restrictions in some environment to allow only certain executables like .exe to run
Expected Results
- There should be some message to inform users that there are restriction due to which error is witnessed, so that next steps could be taken accordingly and service can be installed
Actual Results
- There is an error observed and services could not be installed
Workaround
Remove below lines from service.bat:
IF "%PROCESSOR_ARCHITECTURE%"=="x86" goto notX64 set EXECUTABLE=%EXECUTABLE%.x64
Rename Tomcat8.exe.x64 to Tomcat8 and execute service.bat
- duplicates
-
JRASERVER-72817 Error when Installing Jira service using service.bat
- Closed
- relates to
-
JRASERVER-72817 Error when Installing Jira service using service.bat
- Closed
- mentioned in
-
Page Loading...