Search found 5 matches

Go to advanced search

by rollatwork
Wed Aug 03, 2005 3:45 pm
Forum: Common Problems
Topic: Windows Service shuts down on log off!
Replies: 5
Views: 9298
 
Jump to post

Just wanted to add that I confirmed this on Windows XP Professional and Home as well as Windows 2000 Advanced Server.
by rollatwork
Wed Aug 03, 2005 3:44 pm
Forum: Common Problems
Topic: Windows Service shuts down on log off!
Replies: 5
Views: 9298
 
Jump to post

Voila!

Hi Ciprian,

That was it! I added -Xrs as a JVM argument for when the application is started as a Windows service.

I believe this was the key from the Sun doc :

When the -Xrs option is used on Sun's JVM, the JVM does not install a console control handler, implying that it does not watch for or ...
by rollatwork
Wed Aug 03, 2005 3:04 pm
Forum: Common Problems
Topic: Windows Service shuts down on log off!
Replies: 5
Views: 9298
 
Jump to post

BTW, the target environment that this occurs on is Windows 2000 Advanced Server.
by rollatwork
Wed Aug 03, 2005 3:01 pm
Forum: Common Problems
Topic: Windows Service shuts down on log off!
Replies: 5
Views: 9298
 
Jump to post

Yes, it is a JAVA service.

Yes, it is a JAVA service and it does expose the static stop method. Below is the code for class that has the psvm.

Could it be the case that we need to pass the vmarg -Xrs to our application? See description directly below (taken from http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html ...
by rollatwork
Tue Aug 02, 2005 9:41 pm
Forum: Common Problems
Topic: Windows Service shuts down on log off!
Replies: 5
Views: 9298
 
Jump to post

Windows Service shuts down on log off!

Hi gang,

Great product. Ease-of-use was the decision maker for us.

However, we are encountering an issue with our Windows service in that every time the user logs off, the windows service unexpectedly terminates. Under what cirumstances would this occur and how can we prevent this??? HELP!

The ...

Go to advanced search