Installation Options  Locate

There are a number of installation options available. The command line syntax for installation with options is:

java [-jar wso2-soa-enablement-server-java-6.6.jar] [ --option ]

To view a help screen listing these options, enter the command:

java -jar wso2-soa-enablement-server-java-6.6.jar --help

in the directory containing the distribution file. Table 3, “WSO2 SOA Enablement Server for Java Installation Options and their Functions” contains a brief description of these options:

Table 3. WSO2 SOA Enablement Server for Java Installation Options and their Functions

Installation OptionFunction
-s, --save-config CONFIGFILEDoes not install WSO2 SOA Enablement Server for Java, but saves the installation settings in a CONFIGFILE property file.
-u, --use-config CONFIGFILE

Installs WSO2 SOA Enablement Server using the settings contained in CONFIGFILE instead of user input.

This option launches the quiet installation of WSO2 SOA Enablement Server embedded in another program. A configuration must previously have been saved. For more information, please see the section Quiet Installation.

-d, --debugDisplays debug information
-h, --helpPrints help screen

Launching Installation  Locate

Before you begin installing WSO2 SOA Enablement Server for Java, determine the type of installation you require: Client or Server. Installation scenarios are discussed in Installation Overview.

[Important]Important

For UNIX users:

Be sure that the /bin directory (or a directory where the chmod utility is located) is set in PATH before installation. You can set it with the command export PATH=$PATH:/bin.

Also be certain that JAVA_HOME and the PATH to $JAVA_HOME/bin have been set.

In the directory containing the distribution file, wso2-soa-enablement-server-java-6.6.jar, enter the command:

java -jar wso2-soa-enablement-server-java-6.6.jar --option
[Caution]Caution

The command java -jar wso2-soa-enablement-server-java-6.6.jar --option does not work on some encodings. If you have any problems starting the installer, try running java -classpath wso2-soa-enablement-server-java-6.6.jar Install --option .

In the following list, we describe possible launch commands. Note that the first two launch commands launch the installer described in Wizard Installation.

  • java -jar wso2-soa-enablement-server-java-6.6.jar --save-config config.txt

    Goes through the installation steps and saves the settings to config.txt without installing WSO2 SOA Enablement Server for Java.

  • java -jar wso2-soa-enablement-server-java-6.6.jar --use-config config.txt

    Installs WSO2 SOA Enablement Server for Java using the settings in config.txt instead of user input.

Selecting a Particular Hostname  Locate

If you have multiple hosts on your computer and you want to install WSO2 SOA Enablement Server using one hostname in particular, follow these steps:

  1. Create an installation configuration file.

    java -jar wso2-soa-enablement-server-java-6.6.jar --save-config CONFIGFILE
  2. Add the following line to the CONFIGFILE property file:

    dname=fully qualified domain name of the host
  3. Run the non-interactive installation.

    java -jar wso2-soa-enablement-server-java-6.6.jar --use-config CONFIGFILE

The WSO2 SOA Enablement Server settings will now point to the host name you placed in the dname property.