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 |
No |
create-iiop-listener
- Usage
-
asadmin > create-iiop-listener <options> listener_id
- Aim
-
Creates a listener for IIOP network traffic
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
set-network-listener-configuration
Since Payara Server 5.182
- Usage
-
asadmin> set-network-listener-configuration <options> network_listener_name
- Aim
-
This command helps to modify existing network listener
Options | Type | Description | Default | Mandatory |
---|---|---|---|---|
enabled |
Boolean |
Enables or disables the network listener. |
true |
No |
dynamic |
Boolean |
When set to true, applies the changes without a restart. Otherwise a restart is required. |
false |
No |
address |
String |
The IP address on which the network listener is going to be listening. |
No |
|
Port |
Integer |
The port on which the network listener is going to be listening. |
Yes |
|
listenerPortRange |
String |
Port range which the network listener can bind to. |
No |
|
threadPool |
String |
The thread pool which will be associated with the network listener. |
No |
|
transport |
String |
The transport layer that is going to be used by the network listener |
No |
|
jkenabled |
Boolean |
If enabled, the network listener will become an Apache mod-jk listener |
false |
No |
target |
String |
The config whose values will be set. |
server-config |
No |