Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java dying when user logs off machine

Status
Not open for further replies.

mookie

Programmer
May 3, 2000
15
US
I have developed a program that monitors a MQ queue, I want the application to be running on the machine in the background. I have installed this on a Windows 2000 Server machine.

So I setup a "scheduled task" to start on system start up. When I start the machine, the application starts up and runs. Then a user logs into the machine, and application is still running. Then the user logs off the machine, and the program stops.

I have a VB6 porgram that works throughout the login/logout process.

Any thoughts on how I can keep the program running continously, thanks.
 
I have been looking at using a tool to be a service, this is not the route I would like to take.

 
I believe, to keep application runing with a user login, you have to run the application as service in window.
 
Here is a site that may help:


"This paper describes building an executable launcher for a pure Java 1.2 or 1.3 server application that permits self-installation as a Windows NT service"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top