473,320 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Problem at Logoff while running an .exe as service

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
1 5075

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: paulp | last post by:
Greetings, I'm working on a CGI program that will run under MS IIS 5.0 and will browse folders on three other machines, building HTML pages that will provide links to these folders. ...
0
by: Chris V | last post by:
Hello, I'm having problems sending MAPI Mail from an ASP.NET applcation (in VB) (which worked fine in traditional asp) When run on our test server, it returns an COMException (0x80010106): ]]...
8
by: Jm | last post by:
Hi All I have an app that when running if a user selects logoff or shutdown from the start menu, it will close itself but not logoff windows or shutdown. From what i have found so far its most...
0
by: gewe | last post by:
Can anyone tell me what is wrong with the following code? The code has to watch for logon/logoff events: public void StartListenLogon() { EventHandler handler = new EventHandler();...
6
by: =?Utf-8?B?Zmh1bnRlcg==?= | last post by:
Hi I have a small .net Windows app that I need to run before the user logs off the machine. This is a Windows App where a dialog is displayed to the user and he/she needs to answer before the...
3
by: =?Utf-8?B?Zmh1bnRlcg==?= | last post by:
I have a Windows Service that should pop a windows form right before logoff, for the user to enter some information. I got things working fairly well except that the user does not get to see the...
0
mbmccormick
by: mbmccormick | last post by:
My application is running in the background as a service, but whenever I logoff it closes. I want to somehow override the Form.WndProc() (?) and WMI (?) to prevent my application from closing. It is...
1
by: =?Utf-8?B?ZGpjYXNlbGV5?= | last post by:
I'm trying to write a service that will sit on the domain controller (or, if this proves to be impossible, to be rolled to all connecting Windows machines). It needs to get notification of each...
0
by: =?Utf-8?B?RW5naW5lZXJpaw==?= | last post by:
I created a service in VB.NET2005. The service ensures that program A is running. Program A can be updated by running an installer available from the web. I want the service to compare the local...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.