In case of failure, always uninstall the middle-tier before re-running the middle-tier installer.
On the primary node WebLogic server machine, stop all managed servers, the node manager, and the administration server for oh_domain. Refer to the Oracle Fusion Middleware Administering Server Startup and Shutdown for Oracle WebLogic Server (https://docs.oracle.com/middleware/12212/wls/START/START.pdf) for details.
If you installed the Middle-Tier on secondary nodes, stop the node manager for oh_domain on these machines. Refer to the Oracle Fusion Middleware Administering Server Startup and Shutdown for Oracle WebLogic Server (https://docs.oracle.com/middleware/12212/wls/START/START.pdf) for details.
Make sure that no processes related to oh_domain are running.
Log in to the primary node WebLogic server machine and:
Make a backup of the <WLS_HOME>/user_projects directory.
Remove the <WLS_HOME>/user_projects/domains/oh_domain directory.
Remove the <WLS_HOME>/user_projects/applications/oh_domain directory.
Make a backup of <WLS_HOME>/domain-registry.xml.
Remove the oh_domain entry from <WLS_HOME>/domain-registry.xml.
On any secondary nodes where you installed the Middle-Tier, log in to the WebLogic server machine and:
Make a backup of the <WLS_HOME>/user_projects directory.
Remove the <WLS_HOME>/user_projects/domains/oh_domain directory.
Remove the <WLS_HOME>/user_projects/applications/oh_domain directory.
Make a backup of <WLS_HOME>/domain-registry.xml.
Remove the oh_domain entry from <WLS_HOME>/domain-registry.xml.
Remove the <WLS_HOME>/user_projects/templates directory.
Drop the RCU repository:
Start the RCU from the terminal:
cd <WLS_HOME>/oracle_common/bin
./rcu
In the Welcome screen, click Next.
Select Drop Repository and click Next.
Fill in the following values:
Database Type: eg. Oracle Database
Host Name: Host where the database is running
Port: Database service listener port
Service Name: Database service name
User Name: User name with SYSDBA privilege
Password: Password for the above sysdba user
Role: SYSDBA
Click Next.
Choose Select existing prefix for your drop and select all the components in the bottom table. Click Next.
Click Drop to drop all the schemas with the selected prefix.