1

I have followed exactly same steps as mentioned in their documentation. But, getting error when trying to start service. "Error 1053: Service did not respond to the start or control request in a timely fashion"

Anyone help me to resolve this issue or suggestion any alternative to run jar file as window service will be highly appreciated.

Ravi
  • 30,829
  • 42
  • 119
  • 173
  • Nobody has answered this question yet :( http://stackoverflow.com/questions/20878052/yajsw-window-service-did-not-start – Ravi Feb 20 '15 at 14:52

3 Answers3

2

Maybe your problem is related to have Java 7 and Java 8 installed. Removing either version solve the issue.

There is an alternative solution described here that allows to keep both version in the machine.

jfuentes
  • 477
  • 5
  • 8
0

Downgrading to Java 7 resolved this issue for me. Literally removing Java 8. Seems to be a bug in the YAJSW,

Any other solution is kindly welcomed

MRK187
  • 1,545
  • 2
  • 13
  • 20
0

I am having the same problem, have successfully installed a Network-Service but not able to start the service from YAJSW. And when i try to start it from the UI i get the same error code "error 1053".

The problem arises when i include this line: wrapper.ntservice.account=NT AUTHORITY\\NetworkService commenting this out works

KapaA
  • 165
  • 14