Вы находитесь на странице: 1из 1

Document

Page 1 of 1

How to Delete a Weblogic Server (WLS) Domain [ID 1068323.1]

Modified: Mar 17, 2012

Type: HOWTO

In this Document Goal Solution

Status: PUBLISHED

Priority: 3

Applies to:

Oracle Weblogic Server - Version: 8.1 to 10.3.6 Information in this document applies to any platform.

Goal

What are the steps that need to be performed to delete a WebLogic Server (WLS) domain ?

Solution

If you want to delete a WLS domain , all you need to do is remove the domain directory <BEA_HOME>/user_projects/domains/<domainDirectory> or <DomainDirectory>.

There is no special tool or script required to delete a domain. A domain is nothing but a configuration in WebLogic Server, not an installation. So for deleting a domain, uninstall packages are not needed. All the information related to the domain will be maintained within the domain itself. So when you remove the domain root folder, all the details of the domain are completely cleaned up.

The entry for the domain which we are deleting should be removed from the domain-registry.xml file from $MIDDLEWARE_HOME

It is not required to change the Metadata Service (MDS)

Also you need edit the "nodemanager.domains" file under WL_HOME/common/nodemanager to remove domain information from that file .

The nodemanager.domains file specifies the domains that a Node Manager instance controls, and should contain an entry specifying the domain directory for each domain the Node Manager instance controls, in this form:

domain-name=domain-directory

Take backup of the "nodemanager.domains" file before editing it

When creating a domain through Configuration Wizard, the domain name should be automatically added to the nodemanager.domains file. If in any scenario, we need to add it manually, we should add the line "domain-name=domain-directory" to the same (nodemanager.domains) file.

https://support.oracle.com/epmos/faces/ui/km/DocumentDisplay.jspx? adf.ctrl-state=6v3x

2/24/2013