Installing the Integration
After setting the environment variables, open a command prompt and execute the installation scripts.
This section provides additional details to supplement those steps.
• The installDB commands perform the followings tasks:
• Create the Error Handling user for the integration.
• Create the Error Handling tables and Integration Lookup tables.
• Insert the seed data that is used for Error Handling scenarios that occur during the BPEL flow instances.
• The installWL commands perform the following tasks:
• Create the JDBC DataSource for the ErrorHandling Module.
• Create an outbound connection pool instance for the database by updating the DBAdapter_CCB-EBS.rar file.
• Create the CCBEBS_CCB csf key for the integration.
• The installSOA commands perform the following tasks:
• Update the MDS repository with all artifacts.
• Create the application partition where the composites are deployed.
Example: CCB-EBS
• Compile and deploy all composites.
Environmental Variables
export ORACLE_HOME=/scratch/gbuora/SOA14c/Oracle_Home
export SOA_HOME=$ORACLE_HOME/soa
export MW_HOME=$ORACLE_HOME # If you want to keep MW_HOME for compatibility
# Source the WebLogic environment setup script from new location
source $ORACLE_HOME/wlserver/server/bin/setWLSEnv.sh
# Set product home and cd into its bin
export PRODUCT_HOME=/scratch/gbuora/SOA14c/product_homes/CCB-EBS
# expor class path of ant-contrib.jar
export CLASSPATH=/scratch/gbuora/ant-contrib.jar:$CLASSPATH
cd $PRODUCT_HOME/bin
Installation Commands
For Linux:
ant -f InstallBuild.xml installDB -DInstallProperties=$PRODUCT_HOME/config/InstallProperties.xml | tee installdb.log
ant -f InstallBuild.xml installWL -DInstallProperties=$PRODUCT_HOME/config/InstallProperties.xml | tee InstallWL.log
ant -f InstallBuild.xml installSOA -DInstallProperties=$PRODUCT_HOME/config/InstallProperties.xml | tee InstallSOA.log
For Windows:
SET MW_HOME=C:\Oracle\Middleware
SET SOA_HOME=%MW_HOME%\soa
SET ORACLE_HOME=C:\Oracle\Middleware
SET PRODUCT_HOME=C:\Product_Homes\C2M-NMS
%MW_HOME%/wlserver/server/bin/setWLSEnv.cmd
Example
set ORACLE_HOME=C:\scratch\SOA14c\Oracle_Home
set SOA_HOME=%ORACLE_HOME%\soa
set MW_HOME=%ORACLE_HOME% REM If you want to keep MW_HOME for compatibility
REM Source the WebLogic environment setup script
call %ORACLE_HOME%\wlserver\server\bin\setWLSEnv.cmd
REM Set product home and change directory
set PRODUCT_HOME=C:\scratch\SOA14c\product_homes\CCB-EBS
set CLASSPATH=C:\scratch\ant-contrib.jar;%CLASSPATH%
cd /d %PRODUCT_HOME%\bin
Replace C:\scratch\... with the actual Windows path if different.
Use call to execute .cmd scripts so the environment variables persist.
/d in cd allows changing drive letters if needed.
ant -f nInstallBuild.xml installDB -DInstallProperties=%PRODUCT_HOME%/config/InstallProperties.xml -l installdb_log
ant -f InstallBuild.xml installWL - DInstallProperties=%PRODUCT_HOME%/config/InstallProperties.xml -l InstallWL.log
ant -f InstallBuild.xml installSOA - DInstallProperties=%PRODUCT_HOME%/config/InstallProperties.xml -l InstallSOA.log