Tuesday, May 11, 2010

Steps to remove a domain from Weblogic Server

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.

  1. 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>

  1. 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

  1. Delete the domain folder under domains folder manually.

$Middleware_HOME\user_projects\domains\geo_domain

  1. Delete the domain folder under applications folder manually.

$Middleware_HOME\user_projects\ applications\geo_domain

2 comments:

Anonymous said...

Hey, great information on removing such wls domains. After all, you should also remove the repository schemas. See http://www.soatools.net/how-to/weblogic-osb/how-to-removedelete-a-domain-in-weblogic-server-osb

Anonymous said...

Thanks for every other excellent post. The place
else may anybody get that kind of info in such a perfect way of writing?
I have a presentation next week, and I'm at the look
for such info.

Feel free to surf to my web blog; gta 5 download