Sonic Management API

com.sonicsw.mf.common.runtime
Interface IContainerExitCodes


public interface IContainerExitCodes

This interface describes the possible exit codes that may be generated on container termination.

The corresponding values are:

0 NORMAL_SHUTDOWN_EXIT_CODE
1 UNSPECIFIED_FAILURE_EXIT_CODE
2 INVALID_CMD_LINE_EXIT_CODE
3 BOOT_FILE_NOT_FOUND_EXIT_CODE
4 DS_FAILURE_EXIT_CODE
5 DS_ALREADY_RUNNING_EXIT_CODE
6 AM_ALREADY_RUNNING_EXIT_CODE
7 CACHE_FAILURE_EXIT_CODE
8 CONFIGURATION_FAILURE_EXIT_CODE
9 COMMS_FAILURE_EXIT_CODE
10 LIBX_DIR_NOT_FOUND_EXIT_CODE
11 DS_DUAL_ACTIVE_EXIT_CODE
12 INSUFFICIENT_MEMORY_EXIT_CODE
13 CONTAINER_ALREADY_RUNNING_EXIT_CODE
14 CONTAINER_RESTART_EXIT_CODE
15 FAILED_TO_START_CONTAINER_FROM_CI_DEPLOYANDSTART

See Also:
EXIT_CODE_TEXTS

Field Summary
static int AM_ALREADY_RUNNING_EXIT_CODE
          Container process exit code when on startup the Agent Manager determined there is already an existing Agent Manager running in the same deployment domain.
static int BOOT_FILE_NOT_FOUND_EXIT_CODE
          Container process exit code when the container has been unable to find it's boot file(s).
static int CACHE_FAILURE_EXIT_CODE
          Container process exit code on an unclassified configuration cache failure.
static int COMMS_FAILURE_EXIT_CODE
          Container process exit code on a permanent (non-recoverable) communications failure.
static int CONFIGURATION_FAILURE_EXIT_CODE
          Container process exit code on an unclassified configuration failure.
static int CONTAINER_ALREADY_RUNNING_EXIT_CODE
          Container process exit code when on startup the container determined there is already an existing container of the same name running in the same deployment domain.
static int CONTAINER_RESTART_EXIT_CODE
          A special exit code used to indicate that the container was shutdown with the intent that any parent shell or process will detect this code and restart the container.
static int DS_ALREADY_RUNNING_EXIT_CODE
          Container process exit code when on startup the Directory Service determined there is already an existing Directory Service running in the same configuration domain.
static int DS_DUAL_ACTIVE_EXIT_CODE
          Two active fault tolerant DS have been detected.
static int DS_FAILURE_EXIT_CODE
          Container process exit code on an unclassified Directory Service failure.
static java.lang.String[] EXIT_CODE_TEXTS
          An array holding textual equivalents to the <>_EXIT_CODE constants.
static int FAILED_TO_START_CONTAINER_FROM_CI_DEPLOYANDSTART
          The centralized install DeployAndStartContainer failed to start the JVM for the container process
static int INSUFFICIENT_MEMORY_EXIT_CODE
          Insufficient memory.
static int INVALID_CMD_LINE_EXIT_CODE
          Container process exit code when the container detects it was started with an invalid command line.
static int LIBX_DIR_NOT_FOUND_EXIT_CODE
          The libX directory (for native libraries) does not exist.
static int NORMAL_SHUTDOWN_EXIT_CODE
          Container process exit code on normal shutdown.
static int UNSPECIFIED_FAILURE_EXIT_CODE
          Container process exit code on an unclassified abnormal shutdown.
 

Field Detail

AM_ALREADY_RUNNING_EXIT_CODE

static final int AM_ALREADY_RUNNING_EXIT_CODE
Container process exit code when on startup the Agent Manager determined there is already an existing Agent Manager running in the same deployment domain.

See Also:
Constant Field Values

BOOT_FILE_NOT_FOUND_EXIT_CODE

static final int BOOT_FILE_NOT_FOUND_EXIT_CODE
Container process exit code when the container has been unable to find it's boot file(s).

See Also:
Constant Field Values

CACHE_FAILURE_EXIT_CODE

static final int CACHE_FAILURE_EXIT_CODE
Container process exit code on an unclassified configuration cache failure.

See Also:
Constant Field Values

COMMS_FAILURE_EXIT_CODE

static final int COMMS_FAILURE_EXIT_CODE
Container process exit code on a permanent (non-recoverable) communications failure.

See Also:
Constant Field Values

CONFIGURATION_FAILURE_EXIT_CODE

static final int CONFIGURATION_FAILURE_EXIT_CODE
Container process exit code on an unclassified configuration failure.

See Also:
Constant Field Values

CONTAINER_ALREADY_RUNNING_EXIT_CODE

static final int CONTAINER_ALREADY_RUNNING_EXIT_CODE
Container process exit code when on startup the container determined there is already an existing container of the same name running in the same deployment domain.

See Also:
Constant Field Values

CONTAINER_RESTART_EXIT_CODE

static final int CONTAINER_RESTART_EXIT_CODE
A special exit code used to indicate that the container was shutdown with the intent that any parent shell or process will detect this code and restart the container. The following support the restart behavior for this exit code: startcontainer.{bat|sh}, the activation daemon and the Windows service.

See Also:
Constant Field Values

DS_ALREADY_RUNNING_EXIT_CODE

static final int DS_ALREADY_RUNNING_EXIT_CODE
Container process exit code when on startup the Directory Service determined there is already an existing Directory Service running in the same configuration domain.

See Also:
Constant Field Values

DS_DUAL_ACTIVE_EXIT_CODE

static final int DS_DUAL_ACTIVE_EXIT_CODE
Two active fault tolerant DS have been detected.

See Also:
Constant Field Values

DS_FAILURE_EXIT_CODE

static final int DS_FAILURE_EXIT_CODE
Container process exit code on an unclassified Directory Service failure.

See Also:
Constant Field Values

EXIT_CODE_TEXTS

static final java.lang.String[] EXIT_CODE_TEXTS
An array holding textual equivalents to the <>_EXIT_CODE constants. Access using a particular exit code string using: IContainerExitCodes.EXIT_CODE_TEXTS[<>_EXIT_CODE].


FAILED_TO_START_CONTAINER_FROM_CI_DEPLOYANDSTART

static final int FAILED_TO_START_CONTAINER_FROM_CI_DEPLOYANDSTART
The centralized install DeployAndStartContainer failed to start the JVM for the container process

See Also:
Constant Field Values

INSUFFICIENT_MEMORY_EXIT_CODE

static final int INSUFFICIENT_MEMORY_EXIT_CODE
Insufficient memory.

See Also:
Constant Field Values

INVALID_CMD_LINE_EXIT_CODE

static final int INVALID_CMD_LINE_EXIT_CODE
Container process exit code when the container detects it was started with an invalid command line.

See Also:
Constant Field Values

LIBX_DIR_NOT_FOUND_EXIT_CODE

static final int LIBX_DIR_NOT_FOUND_EXIT_CODE
The libX directory (for native libraries) does not exist.

See Also:
Constant Field Values

NORMAL_SHUTDOWN_EXIT_CODE

static final int NORMAL_SHUTDOWN_EXIT_CODE
Container process exit code on normal shutdown.

See Also:
Constant Field Values

UNSPECIFIED_FAILURE_EXIT_CODE

static final int UNSPECIFIED_FAILURE_EXIT_CODE
Container process exit code on an unclassified abnormal shutdown.

See Also:
Constant Field Values

Sonic Management API

Copyright © 2001-2010 Progress Software Corporation. All Rights Reserved.
HTML formatted on 07-Mar-2010.