I have a core java application running on a server in the form of a thread.
The problem is when ever windows is logged off the tread terminates. How
I can prevent this through programming so the thread always keeps running even if
someone try to stop it force fully.