Follow the instructions below to install WSO2 Application Server run the WSO2 Governance Registry on Windows.
Info | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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."
2. The "System Properties" window opens with its functional tabs. Go to the "Advanced" tab and click the "Environment Variables" button.
3. The "Environment variables" window opens. Click the "New" button under "System variables" (for all users).
4. The "New system variable" input box opens. Fill in the required fields:
...
Info | ||
---|---|---|
| ||
In case there is a need to set up variables only for the user currently logged in, |
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.
3. JAVA_HOME
is effectively set up.
Note | ||
---|---|---|
| ||
A variable set via the |
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.
...
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
...