public class ExitCodes extends Object
Modifier and Type | Field and Description |
---|---|
static int |
FAILED
Exit code which indicates a process failure.
|
static int |
HOST_CONTROLLER_ABORT_EXIT_CODE
Exit code from host controller which indicates a critical boot failure.
|
static int |
NORMAL
Exit code which indicates normal process exit.
|
static int |
RESTART_PROCESS_FROM_STARTUP_SCRIPT
Exit code which serves two functions:
standalone mode: - if a standalone server's exit code the startup script will start up the server again.
|
Constructor and Description |
---|
ExitCodes() |
public static final int NORMAL
public static final int FAILED
HostController
, the process controller will react to this code by attempting to respawn the host
controller. For other processes this code has no special semantic associated with it.public static final int RESTART_PROCESS_FROM_STARTUP_SCRIPT
autostart="true"
servers.
public static final int HOST_CONTROLLER_ABORT_EXIT_CODE
FAILED
. The expectation is a critical boot failure will require
some sort of human intervention to resolve, so immediately respawning will just result in
noise in the logs.Copyright © 2023 JBoss by Red Hat. All rights reserved.