Use this script to uninstall a Service Data Objects (SDO) repository
that was previously installed, or failed to install correctly.
You install an SDO repository for use with the service integration
bus Web services enablement as described in Installing the SDO repository. If the data source already
exists, or there has been a previous broken or partial installation of the
SDO repository, the installSdoRepository.jacl script fails
to complete and configuration changes are not saved. In these cases, you need
to run the uninstallSdoRepository.jacl script. This script
continues when it finds unexpected results, so it can clean up a broken or
partial installation.
The uninstall script is almost
a mirror of the install script. Here are the install and uninstall pairs,
where each uninstall command undoes the action of the related install command.
For installation on a standalone server, the -createDb flag
tells the install command to create a default (Cloudscape) database, and the
-removeDb flag
tells the uninstall command to remove an associated default (Cloudscape) database.
If you omit this flag, the uninstall command removes the SDO repository application
from a standalone server without removing the associated
database:
wsadmin -f installSdoRepository.jacl
wsadmin -f uninstallSdoRepository.jacl
wsadmin -f installSdoRepository.jacl -createDb
wsadmin -f uninstallSdoRepository.jacl -removeDb
In a network deployment environment,
for a server that is not part of a cluster:
wsadmin -f installSdoRepository.jacl node_name server_name
wsadmin -f uninstallSdoRepository.jacl node_name server_name
In a network deployment environment,
for a cluster:
wsadmin -f installSdoRepository.jacl -cluster cluster_name
wsadmin -f uninstallSdoRepository.jacl -cluster cluster_name
Note: - The -removeDb flag only deletes the
database configuration in the application server created by the -createDb flag
on the installer. It does not delete the database itself. This is to avoid
accidentally deleting data that you might want to keep. If you are certain
that you want to delete the Cloudscape database, you can delete it manually.
A Cloudscape database is a directory on the file system. The one created
by the installer with the -createDb flag is in the profile_root/databases/SdoRepDb directory,
where profile_root is the
directory in which profile-specific information is stored. If you do
not delete the database and you try to install again with the -createDb flag,
the install fails stating that the SdoRepDb directory already
exists.
- If you did not use -createDb on the installer, because
you had already configured a Cloudscape database for some other purpose, then
you should not use the -removeDb flag on the uninstaller.
- If you attempt to uninstall with a different set of arguments to those
used by the installer, you might find that the uninstall does not remove everything
or that it displays warnings when it tries to remove non-existent settings.