This documentation is for WSO2 Identity Server 5.1.0 . View documentation for the latest release.

Versions Compared

Key

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

...

Info
titleBefore you begin
  • The Management Console uses the default HTTP-NIO transport, which is configured in the catalina-server.xml file in the <IS_HOME>/repository/conf/tomcat directory. This transport must be properly configured in this file for the Management Console to be accessible.
  • The config-validation.xml file in the <PRODUCT_HOME>/repository/conf/etc directory contains a list of recommended system parameters, which are validated against your system when the server starts. See Configuring config-validation.xml for details on modifying these parameters before starting the server.

 

Starting the server
Anchor
start
start

...

 

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/Mac 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 wso2server.sh start and wso2server.sh stop commands.

 

  1. Open a command prompt:
    • On Windows, choose Start -> Run, type cmd at the prompt, and press Enter.
    • On Linux/Mac OS, establish a SSH connection to the server or log in to the text Linux console.
  2. Execute one of the following commands, where <IS_HOME> is the directory where you installed the product distribution:
    • On Windows: <IS_HOME>/bin/wso2server.bat --run
    • On Linux/Mac OS: sh <IS_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/Mac 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 <PRODUCT_HOME>/bin/wso2server.sh -help

 

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, you run <PRODUCT_HOME>/bin/wso2server.sh (on Solaris) from the Command Prompt as described below. 

 

Anchor
instructions
instructions

 

Note

Following instructions are tested for an Oracle Solaris 10 8/11 x86 environment.

 

  1. Click Launch -> Run Applications, type dtterm at the Prompt, and then press Enter, to open a Command Prompt.
  2. Execute the following command: <PRODUCT_HOME>/bin/bash wso2server.sh.
  3. 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.
  1. Open the <PRODUCT_HOME>/bin/wso2server.sh file in a text editor.
  2. Search for the following occurrences: nohup sh "$CARBON_HOME"/bin/wso2server.sh $args > /dev/null 2>&1 &
  3. Replace those occurrences with the following:  nohup bash "$CARBON_HOME"/bin/wso2server.sh $args > /dev/null 2>&1 &

    Tip

    The only change is replacing sh with bash. This is required only for Solaris.

  4. Start the product by following the above instructions.

...