Uninstalling Your Software in Silent Mode

4-4 Oracle Fusion Middleware Installation Guide for Oracle Enterprise Repository When you run the uninstallation program in silent mode, it leaves behind the same files and directories as when you run the uninstallation program in graphical and console modes.You can manually delete these files. Although you can use silent-mode uninstallation to manually uninstall your software, silent-mode uninstall is intended for use in scripts. You can adapt the steps in Table 8-3 for use in scripts. Use the following procedure to uninstall your Oracle Enterprise Repository software in silent mode: 1. Shut down any instances that are running. 2. Start the uninstallation program as described in Table 4–3 . You can also include the -log=full_path_to_log_file option in the command line to create a verbose installation log. For example: uninstall -mode=silent -log=C:\logs\OER_uninstall.log For more information, see Section 1.9, Generating a Verbose Installation Log .

4.5 Removing the Deployed Application

This section describes removing the deployed application for WebLogic and WebSphere Application Servers. This section contains the following topics: ■ Section 4.5.1, Removing the Deployed Application from WebLogic Server ■ Section 4.5.2, Removing the Deployed Application from WebSphere Server

4.5.1 Removing the Deployed Application from WebLogic Server

To remove the deployed Oracle Enterprise Repository application within WebLogic Server requires several steps depending on how the WebLogic domain was initially created. Table 4–3 Starting the Uninstalling Program in the Silent Mode To start the uninstallation program on this platform Do this.. Windows 1. Open a Command Prompt window and go to the following directory: ORACLE_HOMErepositoryXXXuninstall 2. Execute the following command at the prompt: uninstall -mode=silent UNIX 1. Go to the following directory: ORACLE_HOMErepositoryXXXuninstall 2. At the prompt, enter the following command: sh uninstall.sh -mode=silent Note: When you run the uninstallation program in silent mode, no messages are displayed indicating the uninstallation is in progress or has completed successfully, even if errors are encountered. Uninstalling the Software 4-5 For a domain that contains Oracle Enterprise Repository only, delete the ORACLE_ HOMEuser_projectsdomainsDOMAIN_NAME directory. For a domain which had been extended with the Oracle Enterprise Repository application template, use the following steps: 1. Start the Administration Server of the domain containing the Oracle Enterprise Repository application and access the Administration Console.

2. Select Deployments from the Domain Structure section.

3. Click the Lock Edit button.

4. Select the Oracle Enterprise Repository application from the list and click the Delete button.

5. Select the Environment - Servers option from the domain structure section.

6. Select the oer_server1 managed server definition and click the Delete button to

remove this managed server.

7. Click the Activate Changes button.

8. Stop the Administration Server ORACLE_HOMEuser_projectsdomainsDOMAIN_ NAMEbinstopWebLogic.sh or .cmd and delete the Oracle Enterprise Repository application files from: ORACLE_HOMEuser_projectsapplicationsDOMAIN_NAMEapplicationsoer_ 11.1.1.4.0.

4.5.2 Removing the Deployed Application from WebSphere Server