HOW TO HANDLE CONTROL_LOGOFF_EVENT handler in JAVA

From: Zafar (zafarsm_at_gmail.com)
Date: 02/23/05


Date: 22 Feb 2005 23:24:34 -0800

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



Relevant Pages

  • HOW TO HANDLE CONTROL_LOGOFF_EVENT handler
    ... 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. ... urgent, and I am currently at my wits end,so any help would be greatly ...
    (comp.lang.cpp)
  • Re: HOW TO HANDLE CONTROL_LOGOFF_EVENT handler
    ... Zafar wrote: ... > Task Manager. ... It needs to be restarted manually again after a login. ... > urgent, and I am currently at my wits end,so any help would be greatly ...
    (comp.lang.cpp)
  • Re: CPU Usage
    ... > looking in Task Manager It shows in the running processes a file named ... > usage.During this time the total CPU Usage is 100%.I presume hence the ... > the computer behaves as normal. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Computer is slow after formatting !
    ... Task manager comes up. ... Click tab user name ... This will sort your running processes. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Windows shutdown
    ... TO OPEN TASK MANAGER TO ELIMINATE ALL THREE PROCESSES? ... Windows/System32 folder. ... >In running Processes: ...
    (microsoft.public.windowsxp.security_admin)