Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Follow the instructions below to install WSO2 Application Server run the WSO2 Governance Registry on Windows.

Note
Info
title

Before you install the product, ensure that your system meets the minimum hardware and software requirements described in section, Installation Prerequisites.

Step 1. Obtain Installation Pack

Download the latest version of the program (for downloading instructions, refer to section, Obtaining the Product Building from Source).

Step 2. Extract the Archive

After the download is complete, extract installation files to the user-defined folder (further to be referred to as PRODUCT_HOME).

Code Block
unzip wso2aswso2greg-4.5.03.0.zip

Step 3. Set up JAVA_HOME

JAVA_HOME environment variable set up is needed to run WSO2 products. The variable points at the directory where the Java™ Development Kit (JDK) is installed on the computer.

title
Info
Reference

Environment variables are global system variables accessible by all the processes running under the operating system.

...

Info
title*"System variables"* or *"User variables"*?

In case there is a need to set up variables only for the user currently logged in, JAVA_HOME should be set up in "User Variables" (the same way as in "System variables"). These changes will not affect any other users.

Note
titleNotice

Variable set up will be effective for the CMD opened after this operation. In case a CMD had run before the variable was set up, this change will not be effective for it. To ensure the variable set up is effective, and variable value is reset, close and reopen the CMD you are running the product from, or close and re-open the browser (e.g. Total Commander) you are going to run the CMD from.

...

Note
titleNotice

A variable set via the SET command under CMD is a local variable, available to the current CMD session only.

Step 4. Verify JAVA_HOME Set Up

Follow the instructions below to check if JAVA_HOME was set up correctly:

...

3. The program shows that JAVA_HOME is set to the JDK installation path, for example, JAVA_HOME=:c\Program Files\java\jdk1.6.0_27.
This means that JAVA_HOME was set up correctly.

Step 5. Execute Start Script

In order to launch the management console, it is necessary to execute the start script wso2server.bat from the bin folder.

...

where <PRODUCT_HOME> is the installation folder of the product. For example, c:\wso2\wso2amwso2greg-14.05.03\bin.

3. Execute the following command:

Code Block
wso2server.bat --run

4. The operation log is displayed. For example,

...

If the server is started and running, a message appears as "WSO2 Carbon started in 'n' seconds."

Step 6. Stopping the Server

To stop the running server, simply hit Ctrl-C in the command window or choose the "Shutdown/Restart" link on the left-hand menu of the product's Management Console. For information on accessing the Management Console, refer to section Introducing the Management Console.

...