Miscellaneous Commands

This is a non-exhaustive list of asadmin commands for Payara Server.

add-library

Since Payara Server 4.1.2.173

Usage

asadmin> add-library <options> file

Aim

This command adds a jar library to Payara Server and loads it

Options Type Description Default Mandatory

type

String

Specifies the type of library. The supported values are common, ext, app. If it’s of type app the server must be restarted to take effect.

common

No

create-iiop-listener

Usage

asadmin > create-iiop-listener <options> listener_id

Aim

Creates a listener for IIOP network traffic

Command Options

Option Type Description Default Mandatory

listeneraddress

address

Yes

iiopport

Integer

1072

No

enabled

Boolean

true

No

securityenabled

Boolean

false

No

lazyInit

Boolean

false

No

property

List

Colon seperated list of properties

No

get-domain-xml

Usage

asadmin > get-domain-xml

Aim

Gets the text of the domain.xml file. This command will only run against a local instance.

list-rest-endpoints

Since Payara Server 4.1.2.172

Aim

Lists all the rest endpoints of an application

Usage

asadmin > list-rest-endpoints applicationName

restart-cluster

Since Payara Server 4.1.1.163

Aim

Restarts all instances in a cluster. Must be run from the DAS.

Usage

asadmin > restart-cluster clusterName