The SDO repository uninstall script
Use this script to uninstall a Service Data Objects (SDO) repository that was previously installed, or failed to install correctly.
You install the SDO repository application on every server that you plan to use for one or more of the service integration bus-enabled web services roles as described in Instalando e Configurando o Repositório SDO.
Se a origem de dados já existe, ou houve uma instalação interrompida ou parcial anterior do aplicativo de repositório SDO, o script installSdoRepository.jacl não será concluído e as alterações de configuração não serão salvas. In these cases, you have to run the uninstallSdoRepository.jacl script. This script continues when it finds unexpected results, so it can clean up a broken or partial installation.
Note: Execute o script de dentro do Qshell.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
wsadmin.ext -f app_server_root/bin/uninstallSdoRepository.jacl
![[IBM i]](../images/iseries.gif)
wsadmin -f app_server_root/bin/uninstallSdoRepository.jacl
em que .ext é a extensão do arquivo .bat para um sistema Windows ou .sh para um sistema UNIX, Linux ou z/OS®.The SDO repository script install and uninstall pairs
The following are the install and uninstall command pairs, where each uninstall command undoes the action of the related install command. If you attempt to uninstall with a different set of arguments to those previously used with the installSdoRepository.jacl script, you might find that the uninstall does not remove everything or that it displays warnings when it tries to remove non-existent settings.
![[IBM i]](../images/iseries.gif)
For
configuration of the SDO repository on a server,
the -createDb flag tells the install command to create
a
default (Apache Derby) database and configure it for use with this
application server.
The -removeDb flag tells the uninstall command to
remove
the database configuration from the application server, but not to
delete
the Apache Derby database:wsadmin -f installSdoRepository.jacl -createDb
wsadmin -f uninstallSdoRepository.jacl -removeDb
- If you did not use -createDb on the installer, because you had already configured an Apache Derby database for some other purpose, then you should not use the -removeDb flag on the uninstaller.
- To avoid deleting data that you might want to keep, the -removeDb flag does not delete the Apache Derby database. If you are certain that you want to delete the database, you can do so manually. An Apache Derby 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 installation process fails stating that the SdoRepDb directory already exists.
wsadmin -f installSdoRepository.jacl
wsadmin -f uninstallSdoRepository.jacl
Tópico de Referência