Oracle® Fusion Middleware Installation and Upgrade Guide for Oracle Application Integration Architecture Foundation Pack 11g Release 1 (11.1.1.4.0) Part Number E17949-02 |
|
|
View PDF |
This chapter discusses how to uninstall Oracle AIA Foundation Pack and verify uninstallation. This chapter includes the following sections:
Section 7.2, "Uninstalling Foundation Pack using AIA Deinstaller"
Section 7.3, "Undeploying a Specific Instance of AIA Foundation Pack Using Manual Steps"
If you have multiple AIA instances, you need to manually uninstall the specific AIA instance that you want to undeploy.
Refer to Section 7.3, "Undeploying a Specific Instance of AIA Foundation Pack Using Manual Steps."
If you want to completely uninstall AIA (which means undeploying all AIA instances and removing AIA Home), then you need to undeploy all AIA instances except for one instance and then use the De-installer.
If you have deployed the Foundation Pack Demo, undeploy it before you uninstall Foundation Pack, because it does not get undeployed automatically when you uninstall Foundation Pack.
Tip:
Before launching the Deinstaller, ensure that the SOA server is running.To uninstall Foundation Pack using AIA Deinstaller:
Navigate to AIAHOME/oui/bin.
Launch Deinstaller.
Follow the launch instructions for your platform. Table 7-1 lists the commands you must use based on your platform.
Table 7-1 Commands to launch Oracle AIA Deinstaller
Platform | To launch the Oracle AIA Foundation Pack Installer: |
---|---|
Linux Solaris SPARC IBM AIX Based Systems HP-UX |
At the command line prompt, enter: ./runInstaller -invPtrLoc <SOA_HOME>/oraInst.loc -deinstall -jreloc <location of the jre specific to your operating system. This directory should have /bin/java> |
Microsoft Windows |
At the command line prompt, enter: setup.exe -deinstall |
AIA Deinstaller launches the Welcome screen.
Click Next.
AIA Deinstaller displays the installed products.
Select the instance to be uninstalled by clicking once on the Instance name.
Click Deinstall.
AIA Deinstaller displays a warning message with the following deinstallation options:
Deinstall and delete AIA Home directory. To deinstall and delete AIA Home directory, click Yes.
Deinstall without deleting AIA Home directory. To deinstall without deleting the AIA Home directory, click No.
Choose one of the options.
Click Finish in the Deinstallation Complete screen.
Note:
After you uninstall, follow the cleanup steps in Section 7.4, "Cleaning The Environment" to clean the environment and then attempt a fresh installation of AIA.To uninstall Foundation Pack using manual steps:
Navigate to AIA_HOME/aia_instances/<instance_name>/bin.
Run the following command:
. aiaenv.sh (for Unix based) aiaenv.bat (for windows)
Navigate to AIA_HOME/Infrastructure/Install/AID.
Run the following command to initiate uninstallation:
ant -f AIAInstallDriver.xml -DDPropertiesFile=$AIA_HOME/aia_instances/<Instance Name>/config/AIAInstallProperties.xml -logfile $AIA_HOME/aia_instances/<Instance Name>/logs/FPUnInstall.log -DeploymentPlan=$AIA_HOME/aia_instances/<Instance Name>/config/FPUnInstallDP.xml
Note:
After you uninstall, follow the cleanup steps in Section 7.4, "Cleaning The Environment" to clean the environment and then attempt a fresh installation of AIA.Clean the environment after you uninstall AIA Foundation Pack.
To clean the environment:
Navigate to WebLogic console and click Deployments in the left navigation bar.
Select all AIA related deployments if they exist (ideally they get removed during uninstallation) and click Delete.
Repeat Step 2 for Datasources, JMS modules and JMS resources if they exist.
Navigate to Security Realms and select your realm (myrealm).
Click the Users and Groups tab and remove AIA users and AIA groups.
Shutdown the SOA managed server and then shutdown the Admin server.
Start the Admin server.
Open the console, and verify whether you have any changes to activate in the Activation center. If there are any, activate them. If they do not get activated, undo all changes.
Open the folder Middleware/domains/<your_domain> and remove the file edit.lok.
Open the folder Middleware/domains/<your_domain>/pending, and remove all files.
Restart the SOA Server.
You can now attempt a fresh installation. Ensure that you have completed all pre-installation steps before attempting the installation.
To verify uninstallation:
Navigate to AIA Console http://<server name>:<port number>/AIA/ and confirm that this page is not available.
Log in to Oracle Enterprise Manager http://<server name>:<port number>/em /.
Log in using the appropriate user which you have created using the pre-install steps.
Navigate to Farm.
Expand Farm_soa_domain, SOA, soa infra in the left panel.
Navigate to Deployed Composites in the main panel.
You should not be able to view any AIA related composites.