This documentation is for WSO2 API Manager 1.8.0 View documentation for the latest release.
Page Comparison - Setting up Embedded Derby (v.2 vs v.7) - API Manager 1.8.0 - WSO2 Documentation

Versions Compared


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

The following sections describe how to replace the default H2 databases with embedded Derby:

Table of Contents

Include Page
shared:Setting up Embedded Derby (V2V1)
shared:Setting up Embedded Derby (V2)V1)

Changing the product-specific/identity/storage databases

The topics above show how to change the  WSO2_CARBON_DB , which is used to store registry and user manager information. If you changed the product-specific database that come by default or set up a separate database for identity related data, the instructions are the same. In summary:

  1. Add the datasource to the master-datasources.xml file. The datasource for the product-specific database is already there in the master-datasources.xml file by the name WSO2AM_DB. Change its elements with your custom values.

  2. Create the database tables using the following scripts:

    For the product-specific database

    Use the scripts in <PRODUCT_HOME>/dbscripts/apimgt folder

    For the identity database

    Use the scripts in <PRODUCT_HOME>/dbscripts/identity folder