...
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.
...
Copy derby.jar
, derbyclient.jar
and derbynet.jar
from $DERBY_HOME/lib
in to $CARBON$PRODUCT_HOME/repository/components/extensions
directory (to the class path of the WSO2 Carbon web application).
...
5. Run the derby scripts for both the registry and user manager (embedded) databases, provided with the WSO2 BPS using the below command.
Code Block |
---|
run 'CARBONPRODUCT_HOME/dbscripts/derby.sql'; |
...