Skip to content

Migrating from WSO2 EI 6.x to WSO2 EI 7.0

This guide provides an overview of the recommended migration strategy for migrating from WSO2 EI 6.x to WSO2 EI 7.0. Note that these guidelines are only applicable when you are migrating the ESB profile of EI 6.x to the Micro Integrator in EI 7.0.

Before you begin

See the following topics to understand the benefits of moving to EI 7.0 from EI 6.x:

Note that EI 7 is a WUM-only release, which means that manual patches are not allowed. You can use WSO2 Update Manager(WUM) to get the latest fixes or updates for this release.

Why migrate to EI 7.0?

If you are an EI 6.x user, migration is recommended for the following requirements:

  • You need to switch to a microservices architecture from the conventional centralized architecture.
  • You need a more lightweight, container-friendly runtime.
  • You need native support for Kubernetes.

The decision on migration to the new platform needs to be taken by considering several factors including the preferred architectural style (centralized vs microservices), deployment environment in your organization, and the effort it takes to migrate existing integration configurations.

Migrating to the Micro Integrator

Both the ESB profile of EI 6.x and the Micro Integrator of EI 7.0 uses the same ESB runtime and the same developer tool (WSO2 Integration Studio) for developing integrations. Most of the mediation(ESB) and data integration features available in the ESB profile of EI 6.x are available in the Micro Integrator as well. Some of the features are removed from WSO2 Micro Integrator as they are not needed for microservice deployments or they are not frequently used.

In summary, all the integration capabilities that you used in the ESB can be used in the Micro Integrator with minimal changes. However, EI 7.0 introduces a Toml-based configuration strategy to replace XML configurations, which simplifies your product configurations.

See the detailed comparison of EI 6.5 and EI 7.0 to understand what has changed between the ESB profile of EI 6.x.x and the Micro Integrator of EI 7.0.

Follow the instructions below to start the migration!

Set up the migration

  • Make a backup of the existing database used by the current EI 6.x.x deployment. This backup is necessary in case the migration causes any issues in the existing database.
  • Download and install EI 7.0 in your environment. The home directory of your installation will be referred to as <MI_HOME> from hereon.
  • You can use WSO2 Update Manager to get the latest available updates.


    Note that you need a valid WSO2 subscription to use updates in a production environment.

Migrating databases

If you are already using a JDBC user store with EI 6.x.x, you can connect the same database to the Micro Integrator of EI 7 by simply updating the user store configurations in the Micro Integrator.


You cannot manage users and roles when you use a JDBC user store with the Micro Integrator. Therefore, be sure that your database is already up-to-date before connecting it to the Micro Integrator. Alternatively, you can shift to an LDAP user store. Read more about user stores in the Micro Integrator.

Migrating the registry

The Micro Integrator uses a file based registry instead of a database (which is used in EI 6.x.x). Note the following when migrating the registry:

  • If the artifacts in EI 6.x.x are added in carbon applications developed using WSO2 Integration Studio, you can directly migrate the artifacts to the Micro Integrator of EI 7.
  • If the artifacts are added through the management console in EI 6.x.x, first download the artifacts from the management console, and then add to the <MI_HOME>/registry/ folder by maintaining the same resource structure.

Migrating artifacts

Copy the contents inside <EI_6.x.x_HOME>/repository/deployment to the <MI_HOME>/repository/deployment folder.

Migrating custom components

Copy custom OSGI components in the <EI_6.x.x_HOME>/dropins folder to the <MI_HOME>/dropins folder. If you have custom JARs in the <OLD_EI_HOME>/lib directory, copy those components to the <MI_HOME>/lib directory.

Migrating keystores

Copy the JKS files in the <EI_6.x.x_HOME>/repository/resources/security directory to the <MI_HOME>/repository/resources/security directory.

Migrating configurations

WSO2 EI 6.x.x versions supported multiple configuration files such as carbon.xml,, and axis2.xml. With the new configuration model in the Micro Integrator of EI 7, product configurations are primarily handled by a single configuration file named deployment.toml (stored in the <MI_HOME>/conf directory). The log4j2 configurations are handled in the

Migrating to TOML configurations

See the product configuration catalog for the complete list of configurations that are available for the Micro Integrator.


If you have a WSO2 subscription, it is highly recommended to reach WSO2 Support before attempting to proceed with the configuration migration.

Migrating Log4j configurations

Older versions of the WSO2 EI 6.x.x family (EI 6.5.0 and earlier) use log4j. In WSO2 EI 7 Micro Integrator, the carbon.logging.jar file is not packed and the pax-logging-api is used instead. With this upgrade, the log4j version is also updated to log4j2.

Therefore, you need to follow the instructions given below to migrate from log4j (in EI 6.5.0 or earlier version) to log4j2 (in EI 7 Micro Integrator).

If you have used a custom log4j component in you you older EI version, apply the following changes to your component:

  1. Replace carbon logging or commons.logging dependencies with pax-logging dependency as shown below.

    <!-- Pax Logging -->
    <!-- Pax Logging Version -->

  2. If log4j dependency is directly used, apply one of the options given below.

    • Replace the log4j dependency (shown below) with log4j2 and rewrite the loggers accordingly.
    • Replace the log4j dependency with pax-logging dependency and rewrite the loggers using commons.logging accordingly.
  3. If commons.logging is imported using Import-Package, add the version range.


  4. Follow the instructions on configuring log4j2 to register the Appenders and Loggers.