Many times while working on a new requirement or trying to implement some new IAM functionality or because of some issues, I had to clear off everything and start afresh. So I have documented the SIX steps that I take to cleanly remove everything, otherwise it may lead to issues.
Note that the uninstall program does not remove the home directory associated with the installation, the JDK or any user-created WebLogic domains. Only the components that were installed by JDK, user domains. the installation program can be removed. If you choose to uninstall the entire product, the uninstallation program also removes the product directory associated with the installation, unless any of the following is true:
a) The product directory contains user-created configuration or application files. The
uninstallation program does not delete user-created configuration files, application files,
b) The complete installation was not uninstalled. If an individual component is uninstalled,
only the installation directory for that component is removed; the installation directories
for other components are unaffected.
c) The uninstall program was invoked from within the product directory structure,
specifically, from the uninstaller directory.
1) Stop all processes that use the Oracle Identity and Access Management Oracle Home.
– Admin and Managed servers within the domain
– Any supporting products such as OHS instances
2) Make sure that Oracle Access Management Oracle home is not in use by any existing domain.
3) Stop all processes that use the ORACLE_COMMON_HOME directory
3) Uninstalling Oracle WebLogic Server : $MW_HOME/utils/uninstall/uninstall.sh
4) Uninstalling the Oracle Identity and Access Management Oracle Home: $IAM_HOME/oui/bin/runInstaller –deinstall
Uninstalling Oracle Identity and Access Management will not remove any WebLogic domains
that you have created—it only removes the software in the Oracle Identity and Access
Management Oracle Home directory.
5) Deinstalling Oracle Common Home:
$MW_HOME/oracle_common/oui/bin/runInstaller -deinstall -jreLoc <JRE_Directory_Location>
You cannot deinstall the ORACLE_COMMON_HOME directory until all
software(for eg SOA Suite) that depends on it has been deinstalled.
6) Delete the domain directory. Steps are blogged here.