Connecting Tech Pros Worldwide Forums | Help | Site Map

java processes being sent shutdown on logoff

Troy Matteoli
Guest
 
Posts: n/a
#1: Jul 18 '07
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

Real Gagnon
Guest
 
Posts: n/a
#2: Jul 19 '07

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
Troy Matteoli
Guest
 
Posts: n/a
#3: Jul 19 '07

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