If the existing databases do not need to be retained for the upgraded installation, then they can be deleted. Prior to deleting the databases, shutdown the Tomcat server. The following is a set of instructions for deleting the databases that are dependent on the database server used in the current environment. Once the databases have been deleted, see the Deploying the Databases section for instructions on how to create the new databases.
For a Derby database instance, execute the following to delete the database (the path was specified in the Configuration section):
% cd /path/to/registrydb/home % rm -rf registrypds3 registrypds4 derby.log