Page tree
Skip to end of metadata
Go to start of metadata

The following return codes are returned by the command line interface (CLI) to indicate the status of BMC Middleware Automation operations and to provide server-specific information about error situations.

Note

To enable the association of return codes with operations that you perform through the CLI, you must include the following line of code in the runDeliver script file, after the line that says DeliverCLI %*:
ECHO statusCode: %errorlevel%

CategoryReturn codes
General codes
  • SUCCESS = 0;
  • FAIL = 1;
Thin client
  • REMOTE_COMMUNICATION_EXCEPTION = 2;
  • INITIALIZATION_ERROR = 3;
General errors
  • UNKNOWN_ERROR = 999;
WebSphere return codes
2000-2999:
  • WAS_GENERIC_CONNECTION_ERROR = 2998;
  • UNKNOWN_WEBSPHERE_ERROR = 2999;
WebLogic return codes
3000-3999:
  • WL_CONSOLE_LOCKED = 3000;
  • WL_RESTART_REQUIRED = 3001;
  • WL_GENERIC_CONNECTION_ERROR = 3998;

  • UNKNOWN_WEBLOGIC_ERROR = 3999;

JBoss return codes
4000-4999:
  • JBOSS_GENERIC_CONNECTION_ERROR = 4998;
  • UNKNOWN_JBOSS_ERROR = 4999;
Tomcat return codes
5000-5999:
  • TOMCAT_GENERIC_CONNECTION_ERROR = 5998;
  • UNKNOWN_TOMCAT_ERROR = 5999;
  • No labels