Payara Server Asadmin Commands

This is a non-exhaustive list of asadmin commands which are exclusive to Payara Server.

start-domains

Since Payara Server 4.1.2.173

Usage

asadmin> start-domains <list of domains>

Aim

This command can be used to start the specified list of domains in the operand. This list must be specified as a comma separated string of values.

The domains will be started assuming default values for all options you would specify when running the start-domain command against one domain (default domain directory, debug mode off, verbose mode off, etc.)

Command Options

No command options available.

Example

To start the domain1 and payaradomain domains, run the following command:

asadmin> start-domains domain1, payaradomain

stop-domains

Since Payara Server 4.1.2.173

Usage

asadmin> stop-domains <list of domains>

Aim

This command can be used to stop the specified list of domains in the operand. This list must be specified as a comma separated string of values.

The domains will be stopped assuming default values for all options you would specify when running the stop-domain command against one domain (forced stopping and process killing)

Command Options

No command options available.

Example

To stop the domain1 and payaradomain domains, run the following command:

asadmin> stop-domains domain1, payaradomain

restart-domains

Since Payara Server 4.1.2.173

Usage

asadmin> restart-domains <list of domains>

Aim

This command can be used to restart the specified list of domains in the operand. This list must be specified as a comma separated string of values.

Command Options

No command options available.

Example

To restart the domain1 and payaradomain , run the following command:

asadmin> restart-domains domain1, payaradomain

stop-all-domains

Usage

asadmin> stop-all-domains

Aim

This command can be used to stop all running domains on the server installation.

Command Options

Option Type Description Default Mandatory

--force

Boolean

Specifies whether each domain is forcibly stopped immediately.

true

No

--kill

Boolean

Specifies whether the domain is killed by using functionality of the operating system to terminate the domain process

false

No

Example

To forcibly stop all running domains, run the following command:

asadmin> stop-all-domains --force=false

results matching ""

    No results matching ""