Sun Java System Application Server Enterprise Edition 8.2 Administration Guide

Stopping an Instance

A server instance is stopped using the stop-instance command. The following example stops the instance named myinstance. The command prompts for the administrative passwords.

$ asadmin stop-instance --host myhost --port 1234 --user admin  myinstance

The administrative server host is myhost, the administrative port is 1234, the administrative username is admin. The server instance myinstance can be clustered or standalone.

For the full syntax, type asadmin help stop-instance.