...
Starting the server
Anchor | ||||
---|---|---|---|---|
|
Follow the relevant instructions based on the operating system you use.
On Windows/Linux/Mac OS
To start the server, you run the script wso2server.bat
(on Windows) or wso2server.sh
(on Linux/SolarisMac OS) from the bin
folder. Alternatively, you can install and run the server as a Windows service.
Info |
---|
To start and stop the server in the background mode of Linux, run |
- Open a command prompt:
- On Windows, choose Start -> Run, type
cmd
at the prompt, and press Enter. - On Linux/SolarisMac OS, establish a SSH connection to the server or log in to the text Linux console.
- On Windows, choose Start -> Run, type
- Execute one of the following commands, where
<BPS_HOME>
is the directory where you installed the product distribution:- On Windows:
<BPS_HOME>/bin/wso2server.bat --run
On Linux/SolarisMac OS:
sh <BPS_HOME>/bin/wso2server.sh
Info If you want to provide access to the production environment without allowing any user group (including admin) to log into the management console, execute one of the following commands.
- On Windows:
<PRODUCT_HOME>\bin\wso2server.bat --run -DworkerNode
- On Linux/SolarisMac OS:
sh <PRODUCT_HOME>/bin/wso2server.sh -DworkerNode
For additional options you can use with these startup commands, type
-help
after the command, such as:sh <BPS_HOME>/bin/wso2server.sh -help
- On Windows:
- On Windows:
The operation log appears. When the product server is running, the log displays the message "WSO2 Carbon started in 'n' seconds."
On Solaris
To start the server, run <PRODUCT_HOME>/bin/wso2server.sh
(on Solaris) from the Command Prompt as described below.
Anchor | ||||
---|---|---|---|---|
|
Note |
---|
Following instructions are tested for an Oracle Solaris 10 8/11 x86 environment. |
- Click Launch -> Run Applications, type
dtterm
at the Prompt, and then press Enter, to open a Command Prompt. - Execute the following command:
<PRODUCT_HOME>/bin/bash wso2server.sh.
The operation log appears in the command window. When the product server has successfully started, the log displays the message "WSO2 Carbon started in 'n' seconds".
Info | ||
---|---|---|
You need to do the following modification to the <PRODUCT_HOME>/bin/wso2server.sh file, to start the product as a service/nohup mode in Solaris.
|
Running the management console
Anchor | ||||
---|---|---|---|---|
|
Once the server has started, you can run the Management Console by opening a Web browser and typing in the management console's URL. The URL is displayed towards the end of the server start script's console and log. For example:
...