Running Multiple WSO2 Products

Joy Rathnayake
2 min readMar 25, 2019

--

WSO2 provides 4 main products and they are:

  • WSO2 API Manager
  • WSO2 Enterprise Integrator
  • WSO2 Identity Server
  • WSO2 Stream Processor

All the WSO2 products are built using Java and it requires only JVM to run the product. All the WSO2 products are designed to be light-weight and allows running multiple products or multiple instances of the same products in a single machine.

While it’s not recommended to run multiple products or multiple instances of the same products in a single machine for production, it’s a common use case for development or test environments.

One common question is how we can run multiple products or multiple instances of the same product in a single machine since some of the WSO2 products share the same ports.

Default Ports of WSO2 Products — https://docs.wso2.com/display/ADMIN44x/Default+Ports+of+WSO2+Products

Sample scenario — running API Manager and Enterprise Integrator on the same machine

Both API Manager and Enterprise Integrator run their Carbon on port 9443 which doesn’t not allow us to run both the products in a single machine. In order to run both the products in a single machine, we need to configure Port Offset for one of these products.

This is how we can offset the default port for Enterprise Integrator:

  • Navigate to <PRODUCT_HOME>/conf/ and open carbon.xml
  • Change the Offset property as shown below

Now we can run both API Manager and Enterprise Integrator together. API Manager Carbon will run on port 9443 as usual and Enterprise Integrator Carbon will run on port 9449.

--

--

Joy Rathnayake
Joy Rathnayake

Written by Joy Rathnayake

Solutions Architect | Public Speaker | MVP | MCT | Trainer | Author | Mentor | Community Leader | Blogger

No responses yet