9 Uninstalling Oracle AIA
This chapter discusses how to uninstall the Oracle Application Integration Architecture (Oracle AIA) pre-built integrations.
About Uninstalling Pre-Built Integrations
Uninstalling Oracle AIA involves the following tasks:
-
Back up the Oracle AIA home directory and any customized Oracle AIA artifacts in the enterprise object library. This includes customizations to:
-
Enterprise Business Objects (EBOs), including custom XSD files in the following directories:
-
Install_home/comms_home/source/soainfra/apps/AIAMetaData/AIAComponents/EnterpriseObjectLibrary/Core/Custom/EBO/
-
Install_home/comms_home/source/soainfra/apps/AIAMetaData/AIAComponents/EnterpriseObjectLibrary/Industry/Industry_Name/Custom/EBO
-
-
Extensible style sheet language transformations (XSLTs)
-
Enterprise Business Services (EBS) Web Service Definition Language (WSDL)
-
Any EBS with custom routing rules
-
The AIAConfigurationProperties.xml file.
-
-
Undeploying pre-built integrations using scripted undeployment plans. See "Undeploying Pre-Built Integrations".
-
Uninstalling Oracle AIA.
Uninstalling Oracle AIA removes everything in the Oracle AIA home directory. Although you can undeploy an individual pre-built integration from the server, you cannot uninstall an individual pre-built integration option. You uninstall all pre-built integration options together.
-
Cleaning the environment. See "Cleaning the Environment".
-
Verifying the uninstallation. See "Verifying Uninstallation".
Undeploying Pre-Built Integrations
To undeploy a pre-built integration from the server:
-
Navigate to the following directory:
Install_home/comms_home/bin
-
Run one of the following commands:
-
On UNIX:
source commsenv.sh
-
On Windows:
source commsenv.bat
This command sources the aiaenv script and sets the COMMS_HOME environment variable to Install_home/comms_home.
-
-
Navigate to the following directory:
Install_home/comms_home/pips/Communications
-
Run one of the commands listed in Table 9-1, depending on your platform and the pre-built integration you are undeploying.
Table 9-1 Pre-Built Integration Undeployment Commands
Pre-Built Integration Platform Command Order to Cash
UNIX
Order to Cash for Siebel CRM:
sh $COMMS_HOME/pips/Communications/Deployments/O2CSiebel/undeployO2CSiebel.sh
Order to Cash for BRM:
sh $COMMS_HOME/pips/Communications/O2CBRM/Deployments/undeployO2CBRM.sh
Order to Cash for OSM:
sh $COMMS_HOME/pips/Communications/O2COSM/Deployments/undeployO2COSM.sh
Order to Cash base:
sh $COMMS_HOME/pips/Communications/O2CBase/Deployments/undeployO2CBase.sh
Order to Cash
Windows
Order to Cash for Siebel CRM:
%COMMS_HOME%\pips\Communications\O2CSiebel\Deployments\undeployO2CSiebel.bat
Order to Cash for BRM:
%COMMS_HOME%\pips\Communications\O2CBRM\Deployments\undeployO2CBRM.bat
Order to Cash for OSM:
%COMMS_HOME%\pips\Communications\O2COSM\Deployments\undeployO2COSM.bat
Order to Cash base:
%COMMS_HOME%\pips\Communications\O2CBase\Deployments\undeployO2CBase.bat
Agent Assisted Billing Care
UNIX
sh $COMMS_HOME/pips/Communications/AABC/DeploymentPlans/undeployAABC.sh
Agent Assisted Billing Care
Windows
%COMMS_HOME%\pips\Communications\AABC\DeploymentPlans\undeployAABC.bat
A message showing uninstallation progress appears. A success message is displayed when uninstallation is complete.
-
Restart the server.
-
Uninstall Oracle AIA following the instructions in the "Uninstalling Oracle AIA".
Uninstalling Oracle AIA
To uninstall Oracle AIA:
-
Navigate to the following directory:
Install_home/oui/bin
-
On UNIX, run the following command:
sh deinstall.sh
The Welcome screen of the Oracle AIA Uninstaller appears.
-
Review list of components to be uninstalled and click Next.
The Uninstallation Summary screen appears.
-
Review the home directory that will be cleared and the log file location and click Uninstall.
The Uninstallation Progress screen appears.
-
Wait for the progress bar to reach 100% and click Next.
The Uninstallation Complete screen appears.
-
Review the information and click Finish.
-
Clean the environment as described in "Cleaning the Environment".
Note:
The Uninstaller does not list which pre-built integration options are uninstalled on the Uninstallation Summary or Uninstallation Complete screens.
All options are uninstalled.
Cleaning the Environment
Cleaning the environment involves the following tasks:
Note:
If you plan to reinstall Oracle AIA, you must use a newly-created domain. Do not reuse a domain from which Oracle AIA was uninstalled.
Removing Oracle AIA Artifacts from the WebLogic Server
To remove Oracle AIA artifacts from the WebLogic server:
-
Log in to the Oracle WebLogic Server Administration Console.
-
From the Domain Structure panel, select Deployments.
The Summary of Deployments page appears.
-
If any Oracle AIA deployments appear, such as AIAHomeApp, select the check box beside the deployment and click Delete.
-
From the Domain Structure panel, expand Services and select Data Sources.
-
If any Oracle AIA data sources appear, such as AIADataSourceDS, select the check box beside the data source and click Delete.
-
From the Domain Structure panel, expand Services, expand Messaging, and select JMS Modules.
-
If any Oracle AIA JMS modules appear, such as AIAJMSModule, select the check box beside the module and click Delete.
-
From the Domain Structure panel, select Security Realms.
-
From the list of security realms, select myrealm.
-
Select the Users and Groups tab.
-
Select the check box beside any Oracle AIA users, such as AIAIntegrationAdmin, and click Delete.
-
Select the Groups tab.
-
Select the check box beside any Oracle AIA groups and click Delete. The default Oracle AIA groups to delete include the following:
-
AIAApplicationUser
-
AIAMappingCustomizer
-
AIAResubmissionAdmin
-
-
Shut down the managed server on which Oracle AIA is deployed.
-
Shut down the administration server for the cluster.
After shutting down the administration server, the Administration Console is no longer available.
-
Start the administration server for the cluster.
See Oracle Fusion Middleware Administering Server Startup and Shutdown for Oracle WebLogic Server for information about how to start the administration server using a script, a Java command, or WebLogic Scripting Tool.
-
Log in to the WebLogic Server Administration Console.
-
From the Change Center panel, select View changes and restarts.
-
Select any changes in the table and click Activate Changes.
-
Restart the managed server.
Deleting Oracle AIA Files
To delete any remaining Oracle AIA files:
-
On the system where you uninstalled Oracle AIA, navigate to the domain_home directory.
-
Delete the edit.lok file.
-
Navigate to the domain_home/pending directory.
-
Delete all files in this directory.
-
Restart the managed server from which you undeployed the prebuilt integrations.
-
Navigate to the Oracle AIA home directory and delete any remaining files.
Deleting Oracle AIA Metadata
To delete the Oracle AIA metadata:
-
Navigate to the SOA_home/common/bin directory.
-
From the command line, run one of the following commands:
-
On Linux:
wlst.sh
-
On Windows:
wlst.cmd
The WebLogic Scripting Tool (WLST) starts.
-
-
Run the following command:
connect('username', 'password', 'server:port')
where:
-
username and password are the user name and password for the WebLogic Server administration user
-
server and port are the address and port of the managed server to which Oracle AIA was deployed
WSLT connects to the managed server.
-
-
Run the following command:
domainConfig()
WLST navigates to the domainConfig directory of the domain.
-
Run the following command:
deleteMetadata(application='soa-infra', server='server', docs='/apps/AIAMetaData/**')
where server is the SOA server or managed server to which Oracle AIA was deployed.
WSLT deletes the Oracle AIA metadata from the server.
For more information about WLST commands, see Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.
Deleting Oracle AIA Security Policies
To delete Oracle AIA security policies:
-
Log in to Oracle Enterprise Manager Fusion Middleware Control.
-
Expand WebLogic Domain.
-
Right-click the node for your SOA domain.
-
Select Web Services then select WSM Policies.
-
Select the following policies and click Delete.
-
oracle/aia_wss_saml_or_username_token_service_policy_OPT_ON
-
oracle/aia_wss_saml_or_username_or_http_token_serivce_policy_OPT_ON
-
oracle/aia_wss10_saml_token_client_policy_OPT_ON
-