Connecting Tech Pros Worldwide Help | Site Map

java processes being sent shutdown on logoff

  #1  
Old July 18th, 2007, 09:55 PM
Troy Matteoli
Guest
 
Posts: n/a
I'm having an issue running some java processes on a Windows server. My
system has serveral java processes that are started in the background by
a system service. They are run as the SYSTEM user. When someone logs
off from the console, the runtimes for the processes are given the
shutdown command. I would expect this if the processes were running as
the logged in user, but they are running as the SYSTEM user. Has anyone
else encountered this situation? If so, how would I go about resolving it?

TIA
Troy
  #2  
Old July 19th, 2007, 12:45 PM
Real Gagnon
Guest
 
Posts: n/a

re: java processes being sent shutdown on logoff


I'm having an issue running some java processes on a Windows server.
Quote:
My system has serveral java processes that are started in the
background by a system service. They are run as the SYSTEM user.
When someone logs off from the console, the runtimes for the processes
are given the shutdown command. I would expect this if the processes
were running as the logged in user, but they are running as the SYSTEM
user. Has anyone else encountered this situation? If so, how would I
go about resolving it?
You need to use 1.3.1 or higher and pass the switch -Xrs (Reduce Signals
Xtended-switch) to the JVM.

Bye.
--
Real Gagnon from Quebec, Canada
* Java, Javascript, VBScript and PowerBuilder code snippets
* http://www.rgagnon.com/howto.html
* http://www.rgagnon.com/bigindex.html
  #3  
Old July 19th, 2007, 09:15 PM
Troy Matteoli
Guest
 
Posts: n/a

re: java processes being sent shutdown on logoff


Thanks!!! That did the trick.

Real Gagnon wrote:
Quote:
Quote:
>I'm having an issue running some java processes on a Windows server.
>My system has serveral java processes that are started in the
>background by a system service. They are run as the SYSTEM user.
>When someone logs off from the console, the runtimes for the processes
>are given the shutdown command. I would expect this if the processes
>were running as the logged in user, but they are running as the SYSTEM
>user. Has anyone else encountered this situation? If so, how would I
>go about resolving it?
>
You need to use 1.3.1 or higher and pass the switch -Xrs (Reduce Signals
Xtended-switch) to the JVM.
>
Bye.
Closed Thread