Uninstalling the Integration
To uninstall the integration:
1. Make sure the following environment variables are set.
MW_HOME
SOA_HOME
ORACLE_HOME
WL_HOME
DOMAIN_LOCATION
PRODUCT_HOME
Below is an example to set up environment variables in a typical installation:
Linux
export MW_HOME=/xxx/Middleware1221/Oracle_Home
export SOA_HOME=/xxx/Middleware1221/Oracle_Home/soa
export ORACLE_HOME=/xxx/Middleware1221/Oracle_Home/soa
export WL_HOME=/xxx/Middleware1221/Oracle_Home/wlserver
export PRODUCT_HOME=/xxx/Middleware1221/PRODUCT_HOME/FieldworkPIP
export DOMAIN_LOCATION=/xxx/Middleware1221/Oracle_Home/user_projects/domains/prod_domain
source "${WL_HOME}/server/bin/setWLSEnv.sh"
Windows
SET MW_HOME=C:\Oracle\Middleware\soa
SET SOA_HOME=%MW_HOME%\soa
SET ORACLE_HOME=%MW_HOME%\soa
SET DOMAIN_LOCATION= C:\Oracle\Middleware\user_projects\domains\prod_domain
SET PRODUCT_HOME=C:\Product_Homes\FieldworkPIP
cd %MW_HOME%/wlserver/server/bin/
setWLSEnv.cmd
Note: The uninstallation process may take several minutes to complete.
Following are the scenarios supported in Fieldwork PIP. Ensure the correct scenario number is used when uninstalling some of the following commands below where DinputScenario number is required; otherwise the necessary artifacts will not be installed correctly.
• Scenario 1: Integration + CCB + MWM + WAMv1.x
• Scenario 2: Integration + CCB + MWM
• Scenario 3: Integration + WAM v1.x + MWM
• Scenario 4: Integration + WAM v1.x + CCB
• Scenario 5: Integration + WAM/ODM v2.x + MWM
• Scenario 6: Integration + CCB + WAM/ODM v2.x
• Scenario 7: Integration + CCB + WAM/ODM v2.x + MWM
2. Open a Command prompt and execute the following installation commands in the order listed below:
a. UnInstallSOA
• Removes the MDS repository with all artifacts.
• Undeploys all composites.
ant -f UnInstallBuild.xml uninstallSOA -DInstallProperties=$PRODUCT_HOME/config/InstallProperties.xml -DinputScenario=7
Note: The scenario number 7 is an example here, use current the installation scenario applicable.
b. UnInstallWL
The UninstallWL commands perform the following tasks:
• Removes outbound connection pool instance for the database by undeploying the DbAdapter_FieldworkPIP.rar file.
• Removes JMS outbound connections by undeploying the JMSAdapter_FieldworkPIP.rar file.
• Removes JMS Connection Factories and queues.
• Removes the csf keys for Fieldwork PIP.
ant -f UnInstallBuild.xml uninstallWL -DInstallProperties=$PRODUCT_HOME/config/InstallProperties.xml -DinputScenario=7
c. UnInstallDB - Removes NDS activation table and schema in SOA using schema specified in InstallProperties.xml.
ant -f UnInstallBuild.xml uninstallDB -DInstallProperties=$PRODUCT_HOME/config/InstallProperties.xml