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.
- Download Apache Derby.
Install Apache Derby on your computer.
For instructions on installing Apache Derby, see the Apache Derby documentation.
- Go to the
<DERBY_HOME>/bin/ directory and run the Derby network server start script. Usually, it is named
Setting up the drivers
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).