java processes being sent shutdown on logoff

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Troy Matteoli

    #1

    java processes being sent shutdown on logoff

    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

    #2
    Re: java processes being sent shutdown on logoff

    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.
    --
    Real Gagnon from Quebec, Canada
    * Java, Javascript, VBScript and PowerBuilder code snippets
    * http://www.rgagnon.com/howto.html
    * http://www.rgagnon.com/bigindex.html

    Comment

    • Troy Matteoli

      #3
      Re: java processes being sent shutdown on logoff

      Thanks!!! That did the trick.

      Real Gagnon wrote:
      >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.

      Comment

      Working...