Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I create a service to run start-jira.bat

I can't start my windows service:

 

[2021-12-21 15:38:11] [info] [ 6876] Apache Commons Daemon procrun (1.2.4.0 32-bit) started.
[2021-12-21 15:38:11] [info] [ 6876] Running Service 'JIRA'...
[2021-12-21 15:38:11] [info] [ 6600] Starting service...
[2021-12-21 15:38:11] [error] [ 6600] Found 'D:\Atlassian\JIRA\jre\bin\server\jvm.dll' but couldn't load it.
[2021-12-21 15:38:11] [error] [ 6600] %1 is not a valid Win32 application.
[2021-12-21 15:38:11] [error] [ 6600] Invalid JVM DLL handle.
[2021-12-21 15:38:11] [error] [ 6600] %1 is not a valid Win32 application.
[2021-12-21 15:38:11] [error] [ 6600] %1 is not a valid Win32 application.
[2021-12-21 15:38:11] [error] [ 6600] Failed to load JVM DLL 'D:\Atlassian\JIRA\jre\bin\server\jvm.dll', home ''.
[2021-12-21 15:38:11] [error] [ 6600] %1 is not a valid Win32 application.
[2021-12-21 15:38:11] [error] [ 6600] Failed creating Java 'D:\Atlassian\JIRA\jre\bin\server\jvm.dll'.
[2021-12-21 15:38:11] [error] [ 6600] %1 is not a valid Win32 application.
[2021-12-21 15:38:11] [error] [ 6600] ServiceStart returned 1.
[2021-12-21 15:38:11] [error] [ 6600] %1 is not a valid Win32 application.
[2021-12-21 15:38:11] [info] [ 6876] Run service finished.
[2021-12-21 15:38:11] [info] [ 6876] Apache Commons Daemon procrun finished.
[2021-12-21 15:43:18] [info] [ 884] Apache Commons Daemon procrun (1.2.4.0 32-bit) started.
[2021-12-21 15:43:18] [info] [ 884] Running Service 'JIRA'...
[2021-12-21 15:43:18] [info] [ 6084] Starting service...
[2021-12-21 15:43:18] [error] [ 6084] Found 'D:\Atlassian\JIRA\jre\bin\server\jvm.dll' but couldn't load it.
[2021-12-21 15:43:18] [error] [ 6084] %1 is not a valid Win32 application.
[2021-12-21 15:43:18] [error] [ 6084] Invalid JVM DLL handle.
[2021-12-21 15:43:18] [error] [ 6084] %1 is not a valid Win32 application.
[2021-12-21 15:43:18] [error] [ 6084] %1 is not a valid Win32 application.
[2021-12-21 15:43:18] [error] [ 6084] Failed to load JVM DLL 'D:\Atlassian\JIRA\jre\bin\server\jvm.dll', home ''.
[2021-12-21 15:43:18] [error] [ 6084] %1 is not a valid Win32 application.
[2021-12-21 15:43:18] [error] [ 6084] Failed creating Java 'D:\Atlassian\JIRA\jre\bin\server\jvm.dll'.
[2021-12-21 15:43:18] [error] [ 6084] %1 is not a valid Win32 application.
[2021-12-21 15:43:18] [error] [ 6084] ServiceStart returned 1.
[2021-12-21 15:43:18] [error] [ 6084] %1 is not a valid Win32 application.
[2021-12-21 15:43:18] [info] [ 884] Run service finished.
[2021-12-21 15:43:18] [info] [ 884] Apache Commons Daemon procrun finished.

1 answer

0 votes
Sagar Mahajan Community Leader Dec 28, 2021

Hi @Blake Daniels You can this document if you have not already checked, also check the user you used in the config file has permission to access Jira install and Home directories.

https://confluence.atlassian.com/adminjiraserver/running-jira-applications-as-a-windows-service-938847902.html

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you