Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Info
titleNote

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, 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 wso2greg-4.5.3.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.

Info
titleReference

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

...

1. Right-click the "My Computer" icon on the desktop and select "Properties."

Image RemovedImage Added

2. The "System Properties" window opens with its functional tabs. Go to the "Advanced" tab and click the "Environment Variables" button.

Image RemovedImage Added

3. The "Environment variables" window opens. Click the "New" button under "System variables" (for all users).

Image RemovedImage Added

4. The "New system variable" input box opens. Fill in the required fields:

...

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.

title
Note
Notice

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.

...

For example, set JAVA_HOME=c:\Program Files\java\jdk1.6.0_27.

Image RemovedImage Added

3. JAVA_HOME is effectively set up.

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.

Image RemovedImage Added

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.

...

Code Block
wso2server.bat --run

Image RemovedImage Added

4. The operation log is displayed. For example,

Image RemovedImage Added

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.

...