Remove configuration objects with the wsadmin tool

 

+

Search Tips   |   Advanced Search

 

Overview

Use this task to delete a configuration object from the configuration repository. This action only affects the configuration. If a running instance of a configuration object exists when you remove the configuration, the change has no effect on the running instance.

Start wsadmin

Jacl:

### Assign the ID string that identifies the server that you want to remove 
set s1 [$AdminConfig getid /Node:mynode/Server:myserver/]

### Remove the configuration object. 
$AdminConfig remove $s1
$AdminConfig save

Jython:

### Assign the ID string that identifies the server that you want to remove 
s1 = AdminConfig.getid('/Node:mynode/Server:myserver/')

### Remove the configuration object. For example: 
AdminConfig.remove(s1)

In a network deployment environment only, synchronize the node.


 

See Also

AdminConfig object for scripted administration
Commands for the AdminConfig object