If using SE AS, be sure to use the -Xrs JVM option when starting ServletExec (in StartServletExec.bat or StartServletExec.sh).
That option tells the JVM to ignore certain Operating System Events/Signals that would otherwise force the JVM to shut itself down. For example logging off of the box.
That JVM option is documented along with all other -X (non standard) JVM options.
That page is also referenced in SE FAQ #182
The SE 6.0 installer generates StartServletExec.bat/.sh file(s) that include
the use of -Xrs, but prior to SE 6.0 (i.e. SE 5.x or older) one must manually add that JVM option.
- If running SE AS on Linux/Unix:
ServletExec, like any other executable process in Linux/UNIX, will continue running after a user logout ONLY if that process has been made to be immune to the signal SIGHUP. This is done many ways in Linux/UNIX depending upon the shell used by the user login. For example, the C-shell has a configuration that arranges for all command executed in the background using "&" to be automatically immune to SIGHUP. For the best description, see the man page for "nohup" (the Solaris version is very helpful).
One example showing how to logout of an ssh session without causing SE to shut down:
$nohup ./StartServletExec &
Readers of this FAQ may also find this SE Forum post to be of interest.