Problem starting Java application as a Windows service

Java aplikace a hry, témata, multimédia, ...
Odpovědět
depprussell
Příspěvky: 1
Registrován: čtv 28. čer 2018 10:17:20

Problem starting Java application as a Windows service

Příspěvek od depprussell » sob 30. čer 2018 10:16:51

HI,

Problem description - I have a Java Spring Boot application that I converted to a Windows service using Advanced Installer. When I attempt to start the Windows service using the Windows Service Control Manager (SCM) or sc exe on a Windows 2012 server, I get the error, "The service did not respond to the start or control request in a timely fashion.” error. However, the logs created by the service indicate that it started. Also, I can execute the service executable created by Advanced Installer manually and the java application starts without any issues.How to reproduce ? - The main class for a Spring Boot application needs to be initialized toand not the application's actual main class.

Please help.

I did not find the right solution from the internet.

References:
https://www.advancedinstaller.com/forum ... hp?t=35226
Animated Explainer Video Production Company

Thanks!

Odpovědět