System Properties
Below is a non-exhaustive set of useful properties, which may be available depending on which fractions your application uses.
Note
|
For a full set of supported options, please consult the documentation for each fraction and the javadocs on class SwarmProperties.java |
General
Name | Description | Default |
---|---|---|
|
Interface to bind servers |
0.0.0.0 |
|
Sets a global port adjustment |
0 |
|
Timeout, in seconds, to wait for a deployment to occur |
300 |
|
Causes a deployed artifact to be dumped to disk when swarm starts, for debugging |
false |
|
If provided, the swarm process will pause for debugging on the given port. This option is only available when running an Arquillian test or |
none |
Undertow
Name | Description | Default |
---|---|---|
|
Sets the port for the HTTP server |
8080 |
|
Sets the port for the HTTPS server |
8443 |
|
Eagerly open the HTTP listeners |
If non-null, will cause the http listeners to not be lazy |
|
Sets the context path for the deployed application |
/ |
JPA
For the H2, MySQL and Postgres JPA fractions, the follow properties are supported to configure the datasource.
Name | Description | Default |
---|---|---|
|
Name of the datasource (e.g. |
|
|
Username to access the database |
driver specific |
|
Password to access the database |
driver specific |
|
JDBC connection URL |
driver specific |