Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
When a WSO2 product server starts, it starts all features and related artifacts bundled in the product. Multi-profile support allows you to run the product on a selected profile so that only features specific to that profile along with the common features start up with the server. This enables better resource utilization.

To run the product on a preferred profile:
  1. Download the product distribution.
    For more information, see Downloading the Product.
  2. Open a command prompt:
    • On Windows, choose Start > Run, type cmd at the prompt, and press Enter.
    • On Linux/Solaris, establish a SSH connection to the server or log into the Linux console.
  3. Execute one of the following commands to start a product on a preferred profile, where <PRODUCT_HOME> is the directory where you installed the product distribution and . For more information on the preferred profile, see AS profiles.

    OSCommand
    On Windows
    <PRODUCT_HOME>\bin\wso2server.bat -Dprofile=<preferred-profile> --run
    On Linux/Solaris

    sh <PRODUCT _HOME>/bin/wso2server.sh -Dprofile=<preferred-profile> 

    For example, in Linux/Solaris to start the Application Server with the support for Axis2 services only, type the following command:

    sh <PRODUCT_HOME>/bin/wso2server.sh -Dprofile=axis2service

  4. Once the server has started, run the Management Console by opening a Web browser and typing in the management console's URL.
    The URL is displayed as the last line in the start script's console and log. The URL should be in the following format: https://<Server Host>:9443/carbon

...

Service/Application NameProfile Name
web applicationwebapp
Axis2 serviceaxis2service
Data servicedataservice
Jaggeryjaggery
Mashup Servicemashup

How multi-profiling works

...