As of now there is no out of the box feature with Weblogic Configuration wizard to remove or delete a domain. These are basically manual steps.
For example if I want to delete a domain named geo_domain below are the steps you need to remove the domain.
Open domain-registry.xml under $Middleware_HOME .Remove the corresponding entry referring to geo_domain.
CodeSnippet :: domain-registry.xml
<?xml version="1.0" encoding="UTF-8"?>
<domain-registry xmlns="http://xmlns.oracle.com/weblogic/domain-registry">
<domain location="C:\Oracle\Middleware\user_projects\domains\soa_domain"/>
<domain location="C:\Oracle\Middleware\user_projects\domains\geo_domain"/>
</domain-registry>
Open nodemanager.domains file under $Middleware_HOME \wlserver_10.3\common\nodemanager\ folder.
Remove the corresponding entry referring to geo_domain.
CodeSnippet :: nodemanager.domains
#Domains and directories created by Configuration Wizard
geo_domain=C\:\\Oracle\\Middleware\\user_projects\\domains\\geo_domain
Delete the domain folder under domains folder manually.
$Middleware_HOME\user_projects\domains\geo_domain
No comments:
Post a Comment