Some services stop automatically if they are not in use by o - Page 2 - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jicr74
Posts: 4
Joined: Thu Dec 20, 2012 11:17 pm

Re: Some services stop automatically if they are not in use

Thanks for the answer,
This java program already runs on a 64-bit OS as a service wrapped by a free product called jsl, just as it is exactly,
our goal was to migrate it to advanced installer but still we haven't been able to get through.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Some services stop automatically if they are not in use

Hello,

This may happen if the main function exits too soon. Note that it must be active while the service is running (for example you can use a loop to make sure that it does something). So, can you please run your java main class from command line and try to debug it?

Also, you can take a look on our "Java Service stops after 30 seconds" thread which debates a similar issue.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”