Setting up Remote Derby

This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Setting up Remote Derby

The following sections describe how to set up a remote Derby database to replace the default H2 database in your WSO2 product:

Setting up the database

Follow the steps below to set up a remote Derby database.

  1. Download Apache Derby.
  2. Install Apache Derby on your computer.

    For instructions on installing Apache Derby, see the Apache Derby documentation.

  3. Go to the <DERBY_HOME>/bin/ directory and run the Derby network server start script. Usually, it is named startNetworkServer.

Setting up the drivers

Copy the derby.jar, derbyclient.jar JAR and the derbynet.jar JAR from the <DERBY_HOME>/lib/ directory to the <PRODUCT_HOME>/repository/components/extensions/ directory (the classpath of the Carbon web application).