sue_impact
Posts: 6
Joined: Fri Feb 03, 2006 3:07 pm

Java service stops when user logs off

I have installed my Java application as a service but when the user logs out the service stops. What do I need to set to keep the service running when the user is not logged in?

Thanks

Sue
sue_impact
Posts: 6
Joined: Fri Feb 03, 2006 3:07 pm

Problem fixed. I found a reference to the -Xrs parameter in another thread which seems to solve it.

It would be useful to mention this in the Java service tutorial as it took me a while to work out which option corresponds to this parameter.
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

You are right, this will definitely be added to the Java service tutorial.

Regards,
Denis
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”