How to run multiple WSO2 WSAS instances in a single host

Archived Content
This article is provided for historical perspective only, and may not reflect current conditions. Please refer to relevant product page for more up-to-date product information and resources.
  • By Charitha Kankanamge
  • 29 Sep, 2009

In this 3 step short tutorial, Charitha describes how you can configure your WSO2 WSAS instances to facilitate more than one instance within a single host.

Step 1

Download the latest version of WSO2 WSAS from here

Extract the downloaded zip in to a directory in your file system. We can name this location as CARBON_HOME

Step 2

Go to CARBON_HOME/conf directory and the open transports.xml file. Update the http and https ports as follows:

<transport name="http" class="org.wso2.carbon.server.transports.http.HttpTransport">

<parameter name="port">9764</parameter>


<transport name="https" class="org.wso2.carbon.server.transports.http.HttpsTransport">

<parameter name="port">9444</parameter>

Save and close the file.

Step 3

Similarly, change the ports of the other WSO2 WSAS instances. You can follow the same steps to change the default ports in WSO2 Governance Registry, WSO2 Identity Server and WSO2 Mashup Server products.

Step 4

In the case of the WSO2 ESB, in addition to the above change, you should change the non-blocking HttpCore + NIO transports in CARBON_HOME/conf/axis2.xml

 <transportReceiver name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOListener">
 <parameter name="port" locked="false">8281</parameter>

  <transportReceiver name="https" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSSLListener">
  <parameter name="port" locked="false">8244</parameter>


Applies To:- WSO2 WSAS-3.0 or later, WSO2 ESB-2.0 or later, WSO2 Governance Registry-2.0 or later, WSO2-IS-1.5 or later