By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,779 Members | 1,101 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,779 IT Pros & Developers. It's quick & easy.

Problem at Logoff while running an .exe as service

P: n/a
Hi all,

I have set up rmiregistry.exe to run as service on Windows 2000 Server
.. I set it up using "srvany.exe".
It is running fine, but when I logoff, it stops.I did a lot of
research but I am not able to find out what is the problem. I have
"Interact with active desktop" unchecked.
If I login after logoff, then rmiregistry is not responding though it
shows the rmiregistry as "started" in "controlPanel->Admin->services".
If I restart it, then again it will work successfully until I logoff.

If I restart my computer , then after login I don't have to manually
restart it.

Reading previously posted messages, I got an impression that at
logoff, some kind of of signals are sent & some services terminate
upon receiving these signals.

Any kind of help will be really appreciated.

Thanks
Arun
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Arun Goel" <go*****@yahoo.com> wrote in message
news:7e**************************@posting.google.c om...
Hi all,

I have set up rmiregistry.exe to run as service on Windows 2000 Server
. I set it up using "srvany.exe".
It is running fine, but when I logoff, it stops.I did a lot of
research but I am not able to find out what is the problem. I have
"Interact with active desktop" unchecked.
If I login after logoff, then rmiregistry is not responding though it
shows the rmiregistry as "started" in "controlPanel->Admin->services".
If I restart it, then again it will work successfully until I logoff.

If I restart my computer , then after login I don't have to manually
restart it.

Reading previously posted messages, I got an impression that at
logoff, some kind of of signals are sent & some services terminate
upon receiving these signals.

Any kind of help will be really appreciated.

Thanks
Arun


That is a known issue with windows services running as Java process. You
have to supply -Xrs as a JVM parameter. Hope you can squeeze that in
somewhere.

Silvio Bierman
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.