java -jar launcher-<version>.jar [--config-file file-path] [--contextroot context-root] [--http-listener port-number] [--https-listener port-number] [--libraries jar-filepath[,jar-filepath]*] [--precompilejsp[=true|=false]] --deploy war-file [--generate uber-jar-filepath]
java -jar launcher-<version>.jar [--config-file file-path] --execute subcommand subcommand-args...
Name | Description | Default Value |
---|---|---|
|
Specify the path to configuration file (domain.xml). Do not use |
|
|
Specify the context-root. |
|
|
Specify the path to WAR file to deploy. This option is mandatory. |
|
|
Specify the subcommand to execute. |
|
|
Specify the path to uber JAR to generate. When this option is not specified, the application will run automatically. |
|
|
Specify HTTP port number. Do not use |
|
|
Specify HTTPS port number. Do not use |
|
|
Specify the paths to JAR files referred from the application. To specify more than one files, use comma ( |
|
|
Specify |
|
-
Example 1: Run an application
my-app.war
without creating an uber JAR.
$ java -jar launcher-<version>.jar --deploy my-app.war
-
Example 2: Create an uber JAR
my-uber.jar
and run it.
$ java -jar launcher-<version>.jar --deploy my-app.war --generate my-uber.jar $ java -jar my-uber.jar
-
Example 3: Execute the
create-file-user
subcommand.
$ java -jar launcher-<version>.jar --config-file domain.xml --execute create-file-user --passwordfile password.txt user1