You can delete a local mapping service by using the wsadmin
tool.
Procedure
- Launch wsadmin by starting the wsadmin scripting tool.
- Use the deleteLMService command to delete
a local mapping service that has been created, as the following example
shows:
Using Jython:
AdminTask.deleteLMService("StockQuoteService")
The system removes the local mapping service.
- Use the listLMServices command to display
a list of installed local mapping services in the cell, to check that
the local mapping service was deleted:
AdminTask.listLMServices()
- Save your configuration changes by using the following
command:
AdminConfig.save()
- Synchronize the nodes. Use the syncActiveNodes script in
the AdminNodeManagement script library to synchronize each active
node in your environment, as the following example demonstrates:
AdminNodeManagement.syncActiveNodes()
Results
You have deleted the selected local mapping service.
What to do next
If necessary, you can uninstall the service map that you
have deleted; see
Uninstalling a service map by using the command line.