Pages

Friday, April 13, 2012

How to delete the domain from the weblogic

As we know there is no configuration wizard to delete the existing domains. So you can delete the domains using below mentioned manual steps :

I am going to delete the domain "mycustomdomain" -
1. Open the domain-registry under $Middleware_HOME directory. Remove the entry referring to mycustomdomain

Code Snippet in domain-registry.xml

<domain location="C:\Oracle\Middleware\user_projects\domains\mycustomdomain"/>

2. Open nodemanager.domains file under $Middleware_HOME\wlserver_10.3\common\nodemanager\ folder. Remove the corresponding entry referring to mycustomdomain.

Code Snipper in nodemanager.domains

mycustomdomain=C\:\\Oracle\\Middleware\\user_projects\\domains\mycustomdomain

3. Delete the domain folder under domains folder manually.

$Middleware_Home\user_projects\domains\mycustom_domain

4. Delete the domain folder under applications folder manually.

$Middleware_Home\user_projects\applications\\mycustom_domain