shutdown

Description

Shuts down the server to which you are connected.

Syntax

Local mode support: No.

Command line:

shutdown connect-args

Where connect-args is a list of arguments to connect to the server, as described in “Using connected mode”.

Ant build file:

<jag_shutdown />

Like all commands, shutdown requires connection flags at the command line and the jag_connect command in Ant build files (see “Using the jag_connect command”). shutdown terminates the server process that you have connected to.

Returns

Return value

Indicates

0

The command ran successfully; the result is true/success.

2

The command did not run successfully; an exception was thrown.

Examples

Example 1

This example connects to the server eclipse on port 9005, with the user name jagadmin and the password jagpass, and shuts down the server.

See also

restart