To remove the domain named "base_domain" , do the following steps:
Stop the processes associated with the domain.
Remove the relevant domain entry from the "$MW_HOME/domain-registry.xml" file.
<?xml version="1.0" encoding="UTF-8"?>
<domain-registry xmlns="http://xmlns.oracle.com/weblogic/domain-registry">
<domain location="/u01/app/oracle/middleware/user_projects/domains/base_domain"/>
</domain-registry>
Remove the relevant domain entry from the "$WLS_HOME/common/nodemanager/nodemanager.domains" file.
#Domains and directories created by Configuration Wizard
base_domain=/u01/app/oracle/middleware/user_projects/domains/base_domain
Delete the "base_domain" application and domain directories.
$ rm -Rf $MW_HOME/user_projects/applications/base_domain
$ rm -Rf $MW_HOME/user_projects/domains/base_domain
Stop the processes associated with the domain.
Remove the relevant domain entry from the "$MW_HOME/domain-registry.xml" file.
<?xml version="1.0" encoding="UTF-8"?>
<domain-registry xmlns="http://xmlns.oracle.com/weblogic/domain-registry">
<domain location="/u01/app/oracle/middleware/user_projects/domains/base_domain"/>
</domain-registry>
Remove the relevant domain entry from the "$WLS_HOME/common/nodemanager/nodemanager.domains" file.
#Domains and directories created by Configuration Wizard
base_domain=/u01/app/oracle/middleware/user_projects/domains/base_domain
Delete the "base_domain" application and domain directories.
$ rm -Rf $MW_HOME/user_projects/applications/base_domain
$ rm -Rf $MW_HOME/user_projects/domains/base_domain
No comments:
Post a Comment