Hi All,
One of my services is killed when i log off from my Win XP/2000
machine, i.e., it is removed from the list of running processes in the
Task Manager . It needs to be restarted manually again after a login.
I did some investigation and found that this was due to the
"CTRL_LOGOFF_EVENT" passed by the
JVM(http://java.sun.com/j2se/1.3/docs/tooldocs/win32/java.html). It
further said to use the -Xrs option to ignore such events.
Can someone please tell me how to use this option correctly? Its really
urgent, and I am currently at my wits end,so any help would be greatly
appreciated.
Thanks In advance,
Zafar
Steve W. Jackson - 28 Feb 2005 21:06 GMT
> Hi All,
>
[quoted text clipped - 13 lines]
> Thanks In advance,
> Zafar
I recall dealing with this issue several months ago and never quite
finding a suitable solution. I ultimately ended up using the freely
available program JavaService, which I obtained from the web site at
<http://www.multiplan.co.uk/software/javaservice/index.html>. Since
that time, I see that there have been updates to it and somebody else
has taken it on as an open source project. Links are there to all of
that.
This turned out to be the easiest overall solution for my purposes, so
that I could create batch files that install or uninstall a service that
will work quite nicely.
= Steve =

Signature
Steve W. Jackson
Montgomery, Alabama