svkirans
Posts: 9
Joined: Sat Jan 25, 2020 7:48 am

Service not launching on shutdown and start

Thu Aug 27, 2020 5:50 pm

I built a java app and wrapped it as a service using an advanced installer. After installation, the service is launching and the app is working as expected. And it is working as expected if I restart the machine. However, if I shut down the machine and start it again, or log off the user and login back again, the service is showing as started, but I see that even the first line of the main method in the app is also not executed. Any ideas on what could be causing these differences?

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Service not launching on shutdown and start

Mon Aug 31, 2020 2:13 pm

Hello,

To be fully honest with you, this is quite a strange behavior and I can not say why this happens.

In order for me to further investigate this, could you please forward me the following:

- a copy of your .AIP file

- a download link for your setup

- a test case (i.e. how can I know that the application that is launched by your service is working as expected and how can I know it is not)

by e-mail at support at advancedinstaller dot com?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”