To fulfill the prerequisites for script based deployment of Foundation Pack configure the following environment variables:
- Set MW_HOME (where you have installed FMW 11g).
- Set SOA_HOME to the directory where you have installed SOA 11g. For example c:\MW_HOME\AS11gR1SOA.
- Set AIA_HOME to the directory where you have copied AIA software. For example d:\AIA_HOME.
- Set JAVA_HOME to directory where you have installed Java.
- Set ANT_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=512m".
- Set ORACLE_HOME=$SOA_HOME.
- Set WEBLOGIC_HOME=$MW_HOME/wlserver_10.3.
- Set HARVESTER_HOME=$AIA_HOME/Infrastructure/LifeCycle/AIAHarvester.
- Set ANT_HOME=${MW_HOME}/modules/org.apache.ant_<version number>. For example, 1.7.1.
- Set PATH=.:$JAVA_HOME/bin:$ANT_HOME/bin:$PATH.
- Set CLASSPATH=.:${WL_HOME}/server/lib/weblogic.jar: ${AIA_HOME}/lib/aia.jar: ${AIA_HOME}/lib/aia-utils.jar: ${MW_HOME}/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar: ${MW_HOME}/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar: ${MW_HOME}/oracle_common/modules/oracle.osdt_11.1.1/osdt_xmlsec.jar: ${MW_HOME}/oracle_common/modules/oracle.jps_11.1.1/jps-e.jar: ${MW_HOME}/oracle_common/modules/oracle.jps_11.1.1/jps-common.jar: ${MW_HOME}/oracle_common/modules/oracle.jps_11.1.1/jps-internal.jar: ${MW_HOME}/oracle_common/modules/oracle.jps_11.1.1/jps-unsupported-api.jar: ${MW_HOME}/oracle_common/modules/oracle.pki_11.1.1/oraclepki.jar: ${MW_HOME}/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar: ${MW_HOME}/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar: $CLASSPATH.