Payara Micro Command Line Options
All of the options listed below are case-insensitive starting from release 4.1.1.171
; prior versions need the option to be set with camelCase notation
Configuration Option | Description | Default Value |
---|---|---|
|
Sets user defined directory path for the access log. |
|
|
Sets user defined log format for the access log. |
"%client.name% %auth-user-name% %datetime% %request% %status% %response.length%" |
|
Sets user defined access log write interval. |
300 |
|
Sets user defined simple date time suffix for access log filenames. |
|
|
Sets user defined prefix for access log filenames. |
|
|
Specifies an additional repository to search for deployable artefacts in. Supports BASIC authentication. For example https://USER:PASSWORD@example.payara.fish/repositories/repo/. You may also use aliases https://USER:{ALIAS=ALIAS_NAME}@example.payara.fish/repositories/repo/ |
|
|
Deprecated. Use |
|
|
<file-or-directory-path> add specified jar files into classloader, or packaged into an Uber JAR. Multiple files can be specified as colon separated values. |
|
|
Enables auto-binding for the HTTP port. |
false |
|
Sets the range for HTTP and HTTPS port auto-binding. |
5 |
|
Enables auto-binding for the HTTPS port. |
false |
|
Modifies the cluster discovery mode of Payara Micro when finding members of the cluster. Options are:
|
multicast |
|
Sets the cluster group name. |
|
|
Sets the cluster group password. |
|
|
Sets the context root of the application originating from the |
|
|
<directory-path> copy a directory into the root of an uber JAR |
|
|
Specifies a WAR file to deploy and optionally the context path to use for that application. |
If not set, has no value and is not used. |
|
Sets a directory which will be scanned for EAR, WAR, and RAR files for auto-deployment. |
If not set, has no value and is not used. |
|
Specifies a comma separated |
|
|
See |
|
|
Disables the Phone Home service for this instance. |
If not set, the Phone Home service is active. |
|
Overrides the server configuration with an alternative domain.xml file. |
If not set, the domain.xml contained in the Payara Micro JAR is used. |
|
Watch the logging properties file for changes, and apply them dynamically |
|
|
enables/disables the HealthCheck Service. |
false |
|
Enables the Request Tracing Service and optionally sets the threshold unit and/or value. |
|
|
<boolean> Enables the adaptive sampling. Can also be enabled by configuring any one of the adaptive sampling configuration options |
|
|
Sets the instance’s group. |
|
|
Displays the configuration options and then exits. |
If not set, this option is not used. |
|
Enable Host Aware Partitioning. When enabled cluster backups will not be stored on members with the same IP Address. |
false |
|
Sets the Hazelcast configuration file to use for overriding the built-in Hazelcast cluster configuration. |
If not set, the built-in Hazelcast configuration file is used. |
|
Sets the time in seconds for Payara Micro to wait before attempting to join the data grid. |
1 |
|
The Public Address to use for this Data Grid Node. Used when the node is behind a NAT |
|
|
See |
|
|
Specifies the Interfaces that the data grid discovery mode should use to listen. Can be comma separated, e.g. 127.0.0.1,192.168.0.* |
|
|
Sets the micro container to lite mode, which means it clusters with other Payara Micro instances but does not store clustered data. |
false |
|
Reveals either the #BadAssFish or a custom logo on boot. |
|
|
Allows user to set their own logging properties file. |
|
|
Outputs all the Log entries to a user defined file. |
|
|
Sets the maximum number of threads in the HTTP thread pool. |
10 |
|
Sets the cluster multicast group if multicast cluster mode is selected. See |
|
|
Sets the cluster multicast port if multicast cluster mode is selected. See |
2904 |
|
Sets the minimum number of threads in the HTTP thread pool. |
10 |
|
Sets the instance name. |
Generated Universally Unique Identifier (Adjective-Fish). |
|
Do not unpack the Nested Jars when booting the server. This is generally slower than unpacking the runtime. |
false |
|
Disables clustering for this instance. |
false |
|
Disables Hazelcast and clustering for this instance. |
false |
|
Disables Host Aware Partitioning. See |
|
|
Packages up an Uber JAR at the specified path based on the provided command line arguments and exit. |
|
|
Create launcher |
|
|
Sets the HTTP port that the instance will bind to. |
8080 |
|
Provides a file of asadmin commands to run after booting the server. |
|
|
Provides a file of asadmin commands to run after all deployments have completed. |
|
|
Provides a file of asadmin commands to run before booting the server. |
|
|
The target number of traces to sample per the configured time window |
6 |
|
The time unit for the adaptive sample time; a |
MINUTES |
|
The period of time to attempt to hit the adaptive sample target count in |
1 |
|
Sets the time unit for the requestTracingThresholdValue option, i.e. |
|
|
Sets the threshold time before a request is traced. |
|
|
Sets the root configuration directory and saves the configuration across restarts. |
Defaults to |
|
Directory to read configuration from key-value files using the Microprofile config api. |
|
|
After server shutdown is initiated the server waits this period of time to finish ongoing requests before terminating. Currently, new requests are still accepted during this grace period. |
0 |
|
Sets the HTTPs port that the instance will bind to. |
If not set, has no value and HTTPS is disabled. |
|
Sets the SSL certificate name to be used from the keystore for SSL |
|
|
Sets the cluster start port number. |
5900 |
|
Reads system properties from a file. |
|
|
Unpack the Nested Jar runtime jars to the specified directory. |
Unpack to
|
|
Displays the version information |
|
|
Exit the server immediately after configuration is done, applications are deployed and it’s ready to serve requests. |