stop-local-instance
stop-local-instance
Stops a Eclipse GlassFish instance on the machine where the subcommand is run
Synopsis
asadmin [asadmin-options] stop-local-instance [--help]
[--nodedir node-dir] [--node node]
[--force={true|false}] [--kill={false|true}]
[instance-name]
Description
The stop-local-instance subcommand stops a Eclipse GlassFish instance
on the machine where the subcommand is run. This subcommand does not
require secure shell (SSH) to be configured. You must run this command
from the machine where the instance resides.
The subcommand can stop any Eclipse GlassFish instance, regardless of
how the instance was created. For example, this subcommand can stop an
instance that was created by using the
create-instance(1) subcommand.
The stop-local-instance subcommand does not contact the DAS to
determine the node on which the instance resides. To determine the node
on which the instance resides, the subcommand searches the directory
that contains the node directories. If multiple node directories exist,
the node must be specified as an option of the subcommand.
This subcommand is supported in local mode.
Options
- asadmin-options
-
Options for the
asadminutility. For information about these options, see theasadmin(1M) help page. --help-?-
Displays the help text for the subcommand.
--nodedir-
Specifies the directory that contains the instance’s node directory. The instance’s files are stored in the instance’s node directory. The default is as-install
/nodes. --node-
Specifies the node on which the instance resides. This option may be omitted only if the directory that the
--nodediroption specifies contains only one node directory. Otherwise, this option is required. --force-
Specifies whether the instance is forcibly stopped immediately.
Possible values are as follows:true-
The instance is forcibly stopped immediately (default).
false-
The subcommand waits until all threads that are associated with the instance are exited before stopping the instance.
--kill-
Specifies whether the instance is killed by using functionality of the operating system to terminate the instance process.
Possible values are as follows:false-
The instance is not killed. The subcommand uses functionality of the Java platform to terminate the instance process (default).
true-
The instance is killed. The subcommand uses functionality of the operating system to terminate the instance process.