Skip to content

wuqiSpank.jar Command Line Parameters

eostermueller edited this page Nov 18, 2014 · 7 revisions

When you launch

java -jar wuqiSpank.jar [optional parameters]

both the wuqiSpank war file and Tomcat unzip to a .extract folder (as a child of the current directory) and Tomcat launches the wuqiSpank webapp. This wiki page documents the [optional parameters]. This command:

java -jar wuqiSpank.jar --help

displays the following list of parameters, which are implemented by this source file. This page details the dark magic used to assemble a self-extracting war file like wuqiSpank.jar.

usage: java -jar [path to your exec war jar]
 -ajpPort <ajpPort>                     ajp port to use
 -clientAuth                            enable client authentication for
                                        https
 -D <arg>                               key=value
 -extractDirectory <extractDirectory>   path to extract war content,
                                        default value: .extract
 -h,--help                              help
 -httpPort <httpPort>                   http port to use
 -httpProtocol <httpProtocol>           http protocol to use: HTTP/1.1 or
                                        org.apache.coyote.http11.Http11Nio
                                        Protocol
 -httpsPort <httpsPort>                 https port to use
 -keyAlias <keyAlias>                   alias from keystore for ssl
 -loggerName <loggerName>               logger to use: slf4j to use slf4j
                                        bridge on top of jul
 -obfuscate <password>                  obfuscate the password and exit
 -resetExtract                          clean previous extract directory
 -serverXmlPath <serverXmlPath>         server.xml to use, optional
 -uriEncoding <uriEncoding>             connector uriEncoding default
                                        ISO-8859-1
 -X,--debug                             debug

Clone this wiki locally