Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

1. Edit the default database configuration defined in the  master-datasources.xml  file located at  $CARBON$PRODUCT_HOME/repository/conf/datasources  directory as below. Both the database configurations in  registry.xml  and  user-mgt.xml  refer this data source.

...

1. Delete H2 database-related JARs shipped with the WSO2 BPS. One could find them in the following locations.

  • $CARBON$PRODUCT_HOME/repository/components/plugins/h2-database-engine_1.2.140.wso2v3.jar

2. Copy the new H2 database driver (org.h2.Driver) to $CARBON$PRODUCT_HOME/repository/components/lib. One could find the required driver JAR in $H2_HOME/bin/h2-*.jar.

...

Tables can be manually created by logging into the created database and running and following script in H2 shell or Web Console.

Code Block
CARBONPRODUCT_HOME/dbscripts/h2.

After setting up the DB tables, start the server with the below commands.

...